4 #include <boost/any.hpp>
42 operator T&(){
return boost::any_cast<T&>(
obj);};
58 operator T
const&(){
return boost::any_cast<T const&>(
obj);};
60 #if MUQ_ANYCAST_COMPILES==0
62 operator T(){
return boost::any_cast<T const&>(
obj);};
66 boost::any
const&
obj;
Class for easily casting boost::any's in assignment operations.
AnyCast(boost::any &objIn)
AnyConstCast(boost::any const &objIn)