Created on 2011-03-27.00:00:00 last changed 155 months ago
Additional note (January, 2012):
In addition to the items previously mentioned, access declarations were removed from C++11 but are not mentioned in C.6 [diff.cpp03].
Proposed (partial) resolution (February, 2012):
Add the following as a new section in C.6 [diff.cpp03]:
C.2.5 11.8 [class.access]: member access control pdiff.cpp03.class.access Change: Remove access declarations.
Rationale: Removal of feature deprecated since C++ 1998.
Effect on original feature: Valid C++ 2003 code that uses access declarations is ill-formed in this International Standard. Instead, using-declarations (9.9 [namespace.udecl]) can be used.
A number of differences between C++03 and C++11 were omitted from C.6 [diff.cpp03]:
New keywords. Although these are said in C.6.2 [diff.cpp03.lex] only to invalidate C++03 code, they can also change the meaning, e.g., thread_local x(y), which would declare a variable thread_local initialized with y in C++03 and a thread-local variable y in C++11.
New deduction rules.
Removal of the deprecated string literal conversion.
When a friend function defined in a class template is actually defined (i.e., with each instantiation or only when odr-used).
Removal of access declarations.
Use of the injected-class-name of a class template as a template template-argument.
History | |||
---|---|---|---|
Date | User | Action | Args |
2012-02-27 00:00:00 | admin | set | messages: + msg3775 |
2011-03-27 00:00:00 | admin | create |