register
storage-class specifier
Microsoft Specific
The Microsoft C/C++ compiler doesn't honor user requests for register variables. However, for portability all other semantics associated with the register
keyword are honored by the compiler. For example, you can't apply the unary address-of operator (&
) to a register object nor can the register
keyword be used on arrays.
END Microsoft Specific
See also
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for