piranha
0.10
|
Specialisation of piranha::msgpack_pack() for long double
.
More...
#include <piranha/s11n.hpp>
Public Member Functions | |
void | operator() (msgpack::packer< Stream > &packer, const long double &x, msgpack_format f) const |
Call operator. More... | |
Specialisation of piranha::msgpack_pack() for long double
.
Stream
satisfies piranha::is_msgpack_stream,std::string
satisfies piranha::has_msgpack_pack.
|
inline |
Call operator.
If f
is msgpack_format::binary then the byte representation of x
is packed into packer
. Otherwise, x
is converted into string format and the resulting string will be packed into packer
.
packer | the target packer. |
x | the object to be packed. |
f | the serialization format. |
unspecified | any exception thrown by:
|