|
piranha
0.10
|
Implementation of piranha::boost_save() via the Boost API. More...
#include <piranha/s11n.hpp>

Public Member Functions | |
| void | operator() (Archive &ar, const T &x) const |
| Call operator. More... | |
Implementation of piranha::boost_save() via the Boost API.
This class can be used to implement piranha::boost_save() via a direct call to the Boost serialization API.
|
inline |
Call operator.
The body of this operator is equivalent to:
That is, x will be inserted into the archive ar using the stream insertion operator. In order for this method to be callable, the type T must provide valid overloads of the methods/functions needed by the Boost serialization API.
| ar | the archive into which x will be serialized. |
| x | the serialization argument. |
| unspecified | any exception thrown by the insertion of x into ar. |
1.8.14