Boost logo

Boost Users :

From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2008-05-16 18:26:36


Maik Beckmann wrote:
> Hello,
>
> Does boost got something to do this
> struct node {
> std::vector<node> children; // node is incomplete
> };
> in a way which conform with the standard which disallows STL containers of
> incomplete types?

Is that not allowed? VC++ compiles it. I don't know of any rule that
would disallow it...


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net