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

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

#include <piranha/static_vector.hpp>

Public Member Functions

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

Detailed Description

template<typename Stream, typename T, std::size_t S>
struct piranha::msgpack_pack_impl< Stream, static_vector< T, S >, msgpack_pack_vector_enabler< Stream, static_vector< T, S > > >

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

Note
This specialisation is enabled only if:

Definition at line 740 of file static_vector.hpp.

Member Function Documentation

◆ operator()()

template<typename Stream , typename T , std::size_t S>
void piranha::msgpack_pack_impl< Stream, static_vector< T, S >, msgpack_pack_vector_enabler< Stream, static_vector< T, S > > >::operator() ( msgpack::packer< Stream > &  p,
const static_vector< T, S > &  v,
msgpack_format  f 
) const
inline

Call operator.

This method will serialize into p the input vector v using the format f.

Parameters
pthe target msgpack::packer.
vthe vector to be serialized.
fthe desired piranha::msgpack_format.
Exceptions
unspecifiedany exception thrown by:

Definition at line 754 of file static_vector.hpp.


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