piranha
0.10
|
Specialisation of piranha::msgpack_convert() for piranha::hash_set. More...
#include <piranha/hash_set.hpp>
Public Member Functions | |
void | operator() (hash_set< T, Hash, Pred > &h, const msgpack::object &o, msgpack_format f) const |
Call operator. More... | |
Specialisation of piranha::msgpack_convert() for piranha::hash_set.
T
satisfies piranha::has_msgpack_convert. Definition at line 1563 of file hash_set.hpp.
|
inline |
Call operator.
This method will convert the input object o
into h
using the format f
. In case duplicate elements are encountered during deserialization, an exception will be raised. Before performing the deserialization, h
is reset with a default-constructed instance of piranha::hash_set. The hashing functor and the equality predicate are not deserialized. This method provides the basic exception safety guarantee.
h | the target piranha::hash_set. |
o | the source msgpack::object . |
f | the desired piranha::msgpack_format. |
std::invalid_argument | if a duplicate element is encountered during deserialization. |
unspecified | any exception thrown by:
|
Definition at line 1581 of file hash_set.hpp.