Boost logo

Boost Users :

Subject: Re: [Boost-users] Recursive variant problem
From: Timothy Madden (terminatorul_at_[hidden])
Date: 2010-07-08 11:33:22


Mathias Gaunard wrote:
> On 08/07/10 08:11, Timothy Madden wrote:
>
>>> struct tuple_tree
>>> : std::tr1::tuple
>>> < float
>>> , int
>>> , std::vector<tuple_tree*>
>>> >
>>> {
>>> };
>>
>> I can use vector<tuple_tree> directly
>
> This is not allowed by the C++ standard. Types must be complete.

I do not see this requirement in the standard. Where should I look for it ?

Thank you,
Timothy Madden


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