标签:
本文若如特别说明都引于ISO/IEC 14882:2011
7、声明(Declarations)
声明序列(declaration-seq):
声明(declaration)
声明序列(declaration-seq) 声明(declaration)
声明(declaration):
block-declaration
function-definition
template-declaration
explicit-instantiation
explicit-specialization
linkage-specification
namespace-definition
empty-declaration
attribute-declaration
block-declaration:
simple-declaration
asm-definition
namespace-alias-definition
using-declaration
using-directive
static_assert-declaration
alias-declaration
opaque-enum-declaration
alias-declaration:
using identifier attribute-specifier-seqopt = type-id ;
simple-declaration:
decl-specifier-seqopt init-declarator-listopt;
attribute-specifier-seq decl-specifier-seqopt init-declarator-list ;
static_assert-declaration:
static_assert ( constant-expression , string-literal ) ;
empty-declaration:
;
attribute-declaration:
attribute-specifier-seq ;
标签:
原文地址:http://www.cnblogs.com/victor-ma/p/4321940.html