Add generic vector support and example code for working with
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user