This can be done using the SFNINAE-construct testing whether this function is present at the actual configuration space and the enable_if [1] functionality of boost.
So the user can decide whether to use the serialization features of the library and only must bother with the serialization details if wanted.
This can be done using the SFNINAE-construct testing whether this function is present at the actual configuration space and the enable_if [1] functionality of boost.
So the user can decide whether to use the serialization features of the library and only must bother with the serialization details if wanted.
[1] http://www.boost.org/doc/libs/1_53_0/libs/utility/enable_if.html