[serialization] using non-intrusive load and save

21 Jul
2005
21 Jul
'05
12:03 a.m.
Hi, What's the recommended way to spit non-intrusive serialization into two functions? It looks like I could use tag dispatch with the nested metafunction is_saving or is_loading, but I want to give a very simple example of non-intrusive serialization. Also, is there any reason that instances of these metafunctions aren't convertible to bool, like the boolean metafunctions from type_traits and mpl? Jonathan
7269
Age (days ago)
7269
Last active (days ago)
1 comments
1 participants
participants (1)
-
Jonathan Turkanis