[fusion] variant adapter going away

Hi, I intend to remove the variant adapter from fusion. After thorough investigation, I think now that the move to make variant a fusion sequence is rather quirky. A variant will always have a size==1 regardless of the number of types it can contain and there's no way to know at compile time what it contains. Iterating over its types is simply wrong. All these imply that the variant is *not* a fusion sequence. If there are objections, I'd like to hear them. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net

on Wed Dec 19 2007, Joel de Guzman <joel-AT-boost-consulting.com> wrote:
Hi,
I intend to remove the variant adapter from fusion. After thorough investigation, I think now that the move to make variant a fusion sequence is rather quirky. A variant will always have a size==1 regardless of the number of types it can contain and there's no way to know at compile time what it contains. Iterating over its types is simply wrong. All these imply that the variant is *not* a fusion sequence.
Sounds right to me. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com
participants (2)
-
David Abrahams
-
Joel de Guzman