Boost logo

Boost Users :

Subject: Re: [Boost-users] Recursive variant problem
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-07-08 11:47:21


AMDG

Timothy Madden wrote:
> Timothy Madden wrote:
>> boost::make_recursive_variant
>> <
>> boost::tuple
>> <
>> std::basic_string<TCHAR>, // id
>> std::basic_string<TCHAR>, // name
>> std::basic_string<TCHAR>, // desc
>> std::basic_string<TCHAR>, // type
>> std::basic_string<TCHAR>, // value
>> std::vector<boost::recursive_variant_> // childList
>> >
>> >::type
>>
>> However when I instantiate it and I try to populate (resize) the
>> vector (member indexed 5 in the tuple, childList) I get:
>> 'boost::recursive_variant_' : class has no constructors
>> from Visual Studio 2008 SP1.
>
> So what am I missing ? Why is boost::recursive_variant_ not being
> substituted ?

My guess would be that tuple has more template
arguments than make_recursive_variant is designed
to handle.

In Christ,
Steven Watanabe


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