piranha  0.10
Static Public Attributes | List of all members
piranha::key_has_msgpack_pack< Stream, Key > Class Template Reference

Detect the presence of the msgpack_pack() method in keys. More...

#include <piranha/s11n.hpp>

Static Public Attributes

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

Detailed Description

template<typename Stream, typename Key>
class piranha::key_has_msgpack_pack< Stream, Key >

Detect the presence of the msgpack_pack() method in keys.

This type trait will be true if Stream satisfies piranha::is_msgpack_stream and the Key type has a method whose signature is compatible with:

Key::msgpack_pack(msgpack::packer<Stream> &, msgpack_format, const symbol_fset &) const;

The return type of the method is ignored by this type trait.

If Key, after the removal of cv-ref qualifiers, does not satisfy piranha::is_key, a compile-time error will be produced.

Definition at line 1115 of file s11n.hpp.


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