diff --git a/boost/any.hpp b/boost/any.hpp index 152eaf2..415efc0 100644 --- a/boost/any.hpp +++ b/boost/any.hpp @@ -19,6 +19,7 @@ #include "boost/config.hpp" #include +#include #include #include #include @@ -57,7 +58,7 @@ namespace boost template any(const ValueType & value) - : content(new holder::type>(value)) + : content(new holder::type>::type>(value)) { } @@ -253,7 +254,7 @@ namespace boost #else operand->type() == typeid(ValueType) #endif - ? &static_cast *>(operand->content)->held + ? &static_cast::type> *>(operand->content)->held : 0; }