Boost logo

Boost Users :

Subject: Re: [Boost-users] [MPL] return type
From: Igor R (boost.lists_at_[hidden])
Date: 2011-10-10 11:12:09


> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net