码迷,mamicode.com
首页 > 编程语言 > 详细

[C/C++]C++标准

时间:2015-03-08 18:36:58      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:

本文若如特别说明都引于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 ;

[C/C++]C++标准

标签:

原文地址:http://www.cnblogs.com/victor-ma/p/4321940.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!