Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-07-20 19:03:35


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk