$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] large variant performance compared (50 elements)
From: Igor R (boost.lists_at_[hidden])
Date: 2011-01-08 16:34:47
>> If it's really just shared_ptr's in the variant, I would seriously
>> consider replacing it with shared_ptr<void> (with a type tag if
>> necessary). Â Just a thought.
>
> Seriously, could be a big simplification and speedup vs. using using
> variant.
Could you please elaborate a bit on this? How to replace
variant<shared_ptr<T> > with shared_ptr<void> and a tag? Wouldn't the
tags be wrapped in a variant anyway?
Thanks.