|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2003-11-03 19:29:10
"Peter Dimov" <pdimov_at_[hidden]> writes:
> David Abrahams wrote:
>>
>> My feeling is that the most-principled (if not most-convenient)
>> design for variant would change the current usage
>>
>> variant<some-mpl-type-sequence>
>>
>> into
>>
>> variant<variant_types<some-mpl-type-sequence> >
>>
>> and leave
>>
>> variant<some-mpl-type-sequence>
>>
>> for the case where you actually want an instance of
>> some-mpl-type-sequence in the variant.
>
> Or variant_from_sequence<mpl-seq>::type?
OK, sure.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk