piranha
0.10
|
Specialisation of piranha::boost_load() for arithmetic types. More...
#include <piranha/s11n.hpp>
Public Member Functions | |
void | operator() (Archive &ar, T &x) const |
Call operator. More... | |
Specialisation of piranha::boost_load() for arithmetic types.
Archive
and T
satisfy piranha::is_boost_loading_archive and T
is either a floating-point type, or one ofchar
, signed char
, or unsigned char
,int
or unsigned
,long
or unsigned long
,long long
or unsigned long long
,bool
.
|
inlineinherited |
Call operator.
The body of this operator is equivalent to:
That is, the content of ar
will loaded into x
using the stream extraction 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 source archive. |
x | the object into which the content of ar will be deserialized. |
unspecified | any exception thrown by the extraction of ar into x . |