(on Boost.Variant and dynamic allocation)

On Apr 6, 2012, at 7:45 PM, Aaron_Wright@selinc.com wrote:
Would raw pointers come into play? Would it depend on the contents of the structs? 

Looks like you need nothrow copy constructors and to specialize some traits to label them as such.

See "Enabling Optimizations" in
http://www.boost.org/doc/libs/1_49_0/doc/html/variant/design.html#variant.design.never-empty

Cheers,
Gordon