Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-09-01 10:46:49

Mark Rodgers wrote:

>... The standard is quite clear that the
>only private members forbidden in an aggregate are private non-static
>data members. Since I think rangecheck should be private, I suggest
>and suitable additions to config.hpp.

Hum... The standard says [8.5.1 Aggregates]:

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

So you are clearly right.

I'll apply your suggested fix.


Boost list run by bdawes at, gregod at, cpdaniel at, john at