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