R
Richard Bos
But most of what's suggested for the attributes is non-standardisable
without making life hard for some implementors.
I see nothing there which convinces me that this would be a good idea.
All the alignment brouhaha is not only inherently unportable, but also
something which 99% of programmers should trust their optimisers on. You
do not want to create another register keyword.
Threading falls outside the scope of the Standard.
Deprecated is exclusively of interest to implementors themselves, and
should never occur outside implementation headers; that can therefore be
handled in an implementation-specific manner in all cases - since those
headers cannot typically be used with other implementations in any case,
it is no loss if those solutions are not portable.
Noreturn _could_ be useful in a very few cases, but is that really
enough reason to complicate the syntax even further?
Richard
without making life hard for some implementors.
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1264.pdf
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1262.pdf
See also
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1259.htm
which refers to
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1233.pdf
which was an earlier edition of N1262.
I see nothing there which convinces me that this would be a good idea.
All the alignment brouhaha is not only inherently unportable, but also
something which 99% of programmers should trust their optimisers on. You
do not want to create another register keyword.
Threading falls outside the scope of the Standard.
Deprecated is exclusively of interest to implementors themselves, and
should never occur outside implementation headers; that can therefore be
handled in an implementation-specific manner in all cases - since those
headers cannot typically be used with other implementations in any case,
it is no loss if those solutions are not portable.
Noreturn _could_ be useful in a very few cases, but is that really
enough reason to complicate the syntax even further?
Richard