piranha  0.10
Public Member Functions | List of all members
piranha::msgpack_convert_impl< T, real_msgpack_convert_enabler< T > > Struct Template Reference

Specialisation of piranha::msgpack_convert() for piranha::real. More...

#include <piranha/real.hpp>

Public Member Functions

void operator() (T &x, const msgpack::object &o, msgpack_format f) const
 Call operator. More...
 

Detailed Description

template<typename T>
struct piranha::msgpack_convert_impl< T, real_msgpack_convert_enabler< T > >

Specialisation of piranha::msgpack_convert() for piranha::real.

Note
This specialisation is enabled if T is piranha::real and the piranha::real::msgpack_convert() method is supported.

Definition at line 2450 of file real.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
void piranha::msgpack_convert_impl< T, real_msgpack_convert_enabler< T > >::operator() ( T &  x,
const msgpack::object &  o,
msgpack_format  f 
) const
inline

Call operator.

The call operator will use piranha::real::msgpack_convert() internally.

Parameters
xtarget piranha::real.
othe msgpack::object to be converted into n.
fthe desired piranha::msgpack_format.
Exceptions
unspecifiedany exception thrown by piranha::real::msgpack_convert().

Definition at line 2461 of file real.hpp.


The documentation for this struct was generated from the following file: