piranha  0.10
Public Member Functions | List of all members
piranha::msgpack_convert_impl< std::string > Struct Template Reference

Specialisation of piranha::msgpack_convert() for std::string. More...

#include <piranha/s11n.hpp>

Public Member Functions

void operator() (std::string &s, const msgpack::object &o, msgpack_format) const
 Call operator. More...
 

Detailed Description

template<>
struct piranha::msgpack_convert_impl< std::string >

Specialisation of piranha::msgpack_convert() for std::string.

The call operator will use directly the convert() method of the input msgpack object.

Definition at line 910 of file s11n.hpp.

Member Function Documentation

◆ operator()()

void piranha::msgpack_convert_impl< std::string >::operator() ( std::string &  s,
const msgpack::object &  o,
msgpack_format   
) const
inline

Call operator.

Parameters
sthe output string.
othe object to be converted.
Exceptions
unspecifiedany exception thrown by the public interface of msgpack::object.

Definition at line 918 of file s11n.hpp.


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