Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
register is a keyword to hint the compiler
that a certain variable will be heavily used.
The compiler knows best, however.
Consider never using register [1,2].
- Herb Sutter. Exceptional C++ style. 2005. ISBN: 0-201-76042-8. Item 28 guideline: 'Never write register [...]'.
- Joint Strike Fighter Air Vehicle C++ Coding Standards for the System Development and Demonstration Program. Document Number 2RDU00001 Rev C. December 2005. AV Rule 140 (MISRA Rule 28, Revised): 'The register storage class specifier shall not be used.'
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
