I know of no way to do that.
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
_______________________________________________
Boost-users mailing list
Boost...@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
How do you get an expression to have
a different type depending on whether
a given class has a particular constructor?
In Christ,
Steven Watanabe
As has been explained it's impossible. However, if you change the
construction syntax of your objects you could do it. If you made the
constructors private or protected and provided a static function for
building them you'd have something that can be tested with metaprogramming.
Not saying this will help you, but it's an idea.