piranha
0.10
|
Specialisation of piranha::msgpack_pack() for piranha::mp_rational. More...
#include <piranha/mp_rational.hpp>
Public Member Functions | |
void | operator() (msgpack::packer< Stream > &p, const T &q, msgpack_format f) const |
Call operator. More... | |
Specialisation of piranha::msgpack_pack() for piranha::mp_rational.
T
is an instance of piranha::mp_rational supporting the piranha::mp_rational::msgpack_pack() method. Definition at line 2298 of file mp_rational.hpp.
|
inline |
Call operator.
The call operator will use the piranha::mp_rational::msgpack_pack() method of q
.
p | the source msgpack::packer . |
q | the input rational. |
f | the desired piranha::msgpack_format. |
unspecified | any exception thrown by piranha::mp_rational::msgpack_pack(). |
Definition at line 2309 of file mp_rational.hpp.