Remove boost::any requirement by providing our own implementation

This commit is contained in:
Jason Turner
2011-09-11 19:51:37 -06:00
parent a3c3b8683b
commit 194001f9a1
9 changed files with 230 additions and 70 deletions

View File

@@ -21,7 +21,7 @@ namespace chaiscript
template<typename T>
void throw_type(const Boxed_Value &bv)
{
try { T t = boxed_cast<T>(bv); throw t; } catch (const exception::bad_boxed_cast &) {}
try { T t = boxed_cast<T>(bv); throw t; } catch (const chaiscript::exception::bad_boxed_cast &) {}
}
};