This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118e. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-11-05
[Voted into WP at October, 2009 meeting.]
Theregisterkeyword serves very little function, offering no more thana hint that a note says is typically ignored. It should bedeprecated in this version of the standard, freeing thereserved name up for use in a future standard, much likeauto has been re-used this time around for being similarlyuseless.
Notes from the March, 2009 meeting:
The consensus of the CWG was in favor of deprecatingregister.
Proposed resolution (September, 2009):
Change 9.2.2 [dcl.stc] paragraph 3 as follows:
Aregister specifier is a hint to the implementation that theobject so declared will be heavily used. [Note: the hint can beignored and in most implementations it will be ignored if the addressof the object is taken.This use is deprecated (see[depr.register]). —end note]
Add a new section following _N3000_.D.4 [depr.string]:
register keyword [depr.register]
The use of theregister keyword as astorage-class-specifier is deprecated (see 9.2.2 [dcl.stc]).