piranha
0.10
|
Specialisation of piranha::boost_load() for piranha::real. More...
#include <piranha/real.hpp>
Public Member Functions | |
void | operator() (Archive &ar, real &x) const |
Call operator. More... | |
Specialisation of piranha::boost_load() for piranha::real.
std::string
and all the integral types in terms of which piranha::real is implemented satisfy piranha::has_boost_load.If Archive
is boost::archive::binary_iarchive
, no checking is performed on the deserialized piranha::real and the implementation offers the basic exception safety guarantee.
unspecified | any exception thrown by piranha::boost_load(), or by the constructor of piranha::real from string. |
|
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 . |