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

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

#include <piranha/static_vector.hpp>

Public Member Functions

void operator() (static_vector< T, S > &v, const msgpack::object &o, msgpack_format f) const
 Call operator. More...
 

Detailed Description

template<typename T, std::size_t S>
struct piranha::msgpack_convert_impl< static_vector< T, S >, msgpack_convert_array_enabler< static_vector< T, S > > >

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

Note
This specialisation is enabled only if:

Definition at line 768 of file static_vector.hpp.

Member Function Documentation

◆ operator()()

template<typename T , std::size_t S>
void piranha::msgpack_convert_impl< static_vector< T, S >, msgpack_convert_array_enabler< static_vector< T, S > > >::operator() ( static_vector< T, S > &  v,
const msgpack::object &  o,
msgpack_format  f 
) const
inline

Call operator.

This method will convert o into v using the format f. This method provides the basic exception safety guarantee.

Parameters
vthe vector into which the content of o will deserialized.
othe source msgpack::object.
fthe desired piranha::msgpack_format.
Exceptions
unspecifiedany exception thrown by:

Definition at line 784 of file static_vector.hpp.


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