piranha  0.10
Static Public Attributes | List of all members
piranha::is_msgpack_stream< T > Class Template Reference

Detect msgpack stream. More...

#include <piranha/s11n.hpp>

Static Public Attributes

static const bool value = implementation_defined
 Value of the type trait.
 

Detailed Description

template<typename T>
class piranha::is_msgpack_stream< T >

Detect msgpack stream.

This type trait will be true if T is a type which can be used as template argument to msgpack::packer, false otherwise. Specifically, in order for this trait to be true T must be a non-const, non-reference type with a write() method with a signature compatible with

T::write(const char *, std::size_t);

The return type of the write() method is ignored by the type trait.

Definition at line 645 of file s11n.hpp.


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