Subject: Re: [boost] [Variant] C++11 variadic template implementation
From: Florian Goujeon (florian.goujeon_at_[hidden])
Date: 2012-04-15 10:53:58
On 04/15/2012 04:26 PM, Mathias Gaunard wrote:
> You use nested ifs, not as good as a switch.
> Also, the special code to deal with visitors that return void seems
> entirely unnecessary.
> As for any_container.hpp, the clear_and_set stuff (which I suppose you
> use in operator=) is very wrong. You're literally copying an object to a
> different location and calling the destructor there.
My implementation isn't perfect for sure. But is it fixable? Is it a
good working basis?
If you think so, I'll create a GIT repository right now so everyone can
Or maybe we should base our work on Jarryd Beck's implementation (that
Paul Fultz gave a link for).