Using "simple-template-id" in type specifiers

In the C ++ 11 standard, the dcl.type.simple and dcl.type.elab sections , which type specifiers may include, are simple-template-id. On the other hand, according to the temp.names section , the simple-template-id identifier can indicate the specialization of a function template. Can a function template specialization be used to indicate a type?

+4
source share
1 answer

7.1.6.2/2 Other specifiers of a simple type indicate either a previously declared user-defined type , or one of the main types (3.9.1).

. .

+4

All Articles