Boost logo

Boost Users :

Subject: Re: [Boost-users] Recursive variant problem
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2010-07-08 10:09:10


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.


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