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

Detect the presence of the msgpack_convert() 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 Key>
class piranha::key_has_msgpack_convert< Key >

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

This type trait will be true if the Key type has a method whose signature is compatible with:

Key::msgpack_convert(const msgpack::object &, msgpack_format, const symbol_fset &);

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 1149 of file s11n.hpp.


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