------- Comment #1 from redi at gcc dot gnu dot org  2010-03-08 10:33 -------
The docs for typeof say "A typeof-construct can be used anywhere a typedef name
could be used."  That implies it should work in a nested-name-specifier.

However, the typeof behaviour is consistent with decltype, and the C++0x
grammar does not allow decltype in a nested-name-specifier, only in a
simple-type-specifier.  If typeof is supposed to work the same way as decltype
then the docs should be updated to reflect that.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43285

Reply via email to