什么是C ++ 03标准中的“第10条”?(What is “clause 10” in the C++03 standard?)
我正在阅读C ++ 03标准,并注意到“第10章”的用法。 例:
8.5.1聚合[dcl.init.aggr]
聚合是没有用户声明的构造函数(12.1),没有私有或受保护的非静态数据成员(第11节),没有基类(第10节) ,也没有虚函数(10.3 )的数组或类(第9节) )。
还有第9条和第11条。这是什么意思,它是指标准中的其他部分?
I was reading through the C++03 standard and noticed the usage of "Clause 10". Example:
8.5.1 Aggregates [dcl.init.aggr]
An aggregate is an array or a class (clause 9) with no user-declared constructors (12.1), no private or protected non-static data members (clause 11), no base classes (clause 10), and no virtual functions (10.3).
There is also Clause 9 and Clause 11. What does this mean, is it referring to some other section in the standard?
最满意答案
该条款是最高层次的东西,即第10条是第10条。 非正式地将这些人称为“部分”,但标准将其称为“子句”。
The clause is the topmost hierarchical thingy, i.e., clause 10 is §10. Informally people refer to those as "sections", but the standard calls them "clauses".
更多推荐
发布评论