Add generic vector support and example code for working with

This commit is contained in:
Jason Turner
2009-06-07 15:54:07 +00:00
parent 0ae57833aa
commit 2fa615974c
6 changed files with 54 additions and 1 deletions

View File

@@ -59,7 +59,6 @@ class Boxed_Value
bool m_is_ref;
};
//cast_help specializations
template<typename Result>
struct Cast_Helper
@@ -131,5 +130,16 @@ struct Cast_Helper<Result &>
}
};
template<>
struct Cast_Helper<Boxed_Value>
{
Boxed_Value operator()(Boxed_Value ob)
{
return ob;
}
};
#endif