void.pointer
void.pointer

Reputation: 26365

What is "clause 10" in the C++03 standard?

I was reading through the C++03 standard and noticed the usage of "Clause 10". Example:

8.5.1 Aggregates [dcl.init.aggr]

  1. 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?

Upvotes: 3

Views: 223

Answers (2)

jpalecek
jpalecek

Reputation: 47762

What does this mean, is it referring to some other section in the standard?

Yes, it refers to the "chapters". Eg. Clause 9 Classes.

Upvotes: 1

R. Martinho Fernandes
R. Martinho Fernandes

Reputation: 234484

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".

Upvotes: 9

Related Questions