Boost logo

Boost :

From: Jason Shirk (jasonsh_at_[hidden])
Date: 2001-11-05 13:49:34

VC7 is wrong. We improved the diagnostic because it was often difficult
to understand why a class was not an aggregate, especially considering
our non-conformance. And yes, VC7.1 will fix this issue.

Jason Shirk
VC++ Compiler Team

> -----Original Message-----
> From: John Maddock [mailto:John_Maddock_at_[hidden]]
> Sent: Saturday, November 03, 2001 4:45 AM
> To: INTERNET:boost_at_[hidden]
> Subject: Re: [boost] config trouble: boost 1.25.0, VC7 beta 2
> >I hacked the header file to use the top set of declarations (I wasn't
> using the reverse_iterator anyway, I just needed boost::array.hpp to
> compile!), now I'm getting C2552 (non-aggregates cannot be initialized
> with an aggregate list). AFAIK boost::array is specifically designed
> be a "plain old data-type (POD)".
> Hold up -- I just realised that VC7 specifically complains because I'm
> using "const int" instead of "int". Hmm, g++3 takes this... but since
> VC7's error message is so explicit, I take it that g++ is wrong to do
> so?
> <
> No idea, personally I would use const boost::array<int> rather than
> boost::array<const int> (if that's what you're doing).
> - John Maddock
> Info: Unsubscribe: <mailto:boost-
> unsubscribe_at_[hidden]>
> Your use of Yahoo! Groups is subject to

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