|
Boost Users : |
Subject: Re: [Boost-users] large variant performance compared (50 elements)
From: Larry Evans (cppljevans_at_[hidden])
Date: 2011-01-08 23:49:25
On 01/08/11 20:51, Larry Evans wrote:
> On 01/08/11 18:32, Steven Watanabe wrote:
> [snip]
>>> Steven, can you maybe invest with your tool where the
>>> load/instantiations are coming from?
>>>
>>
>> Maybe in a few days. boost::mpl::vector75 doesn't exist
>> without some extra work.
>>
>
> Why not just use variadic mpl:
>
> http://svn.boost.org/svn/boost/sandbox/variadic_templates/
>
> which has no limit on mpl::vector size? It would simply involve
> adding another -I to the compile flags.
> [snip]
Or even try the attachment to see how one_of_maybe alternative
to boost::variant:
http://svn.boost.org/svn/boost/sandbox/variadic_templates/
boost/composite_storage/pack/container_one_of_maybe.hpp
compares.
-regards,
Larry
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