
10 Oct
2011
10 Oct
'11
3:49 p.m.
on Mon Oct 10 2011, Igor R <boost.lists-AT-gmail.com> wrote:
Yeah, as long as you're doing that with a runtime test, your only option is to use some kind of type erasure (boost::any, polymorphic base class, etc).
Or Boost.Variant.
(which is what I meant by etc.) I think if you are going to use type erasure, Igor's suggestion is probably the approach most suited to a metaprogrammed system. -- Dave Abrahams BoostPro Computing http://www.boostpro.com