|
Boost : |
From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2000-06-21 14:39:09
> It would be nice if the data member could be made private, but I don't
> know whether that breaks aggregate initialization.
I'm afraid it does.
8.5.1p1
"An aggregate is an array or a class (clause 9) with ... no private or
protected non-static data members ..."
So I vote we keep it public because aggregate initialisation is a very
important feature IMHO.
Mark
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk