[serialization] enable_if managed serialize function
11 Apr
2011
11 Apr
'11
9:04 p.m.
I want to do something like so: template < typename Archive, typename T > typename boost::enable_if<some_meta_check<T>>::type serialize(Archive & ar, T & rec, unsigned int const) { ar & boost::serialization::base_object<T::type>(rec); } Unfortunately I run into trouble with ambiguous function call referring to a different <Archive,T> version of serialize declared in the serialization library. Does anyone know of a workaround for this?
4911
Age (days ago)
4911
Last active (days ago)
0 comments
1 participants
participants (1)
-
Noah Roberts