cereal
A C++11 library for serialization
|
A wrapper around a key and value for serializing data into maps. More...
#include </build/libcereal-SAfJB3/libcereal-1.3.2+dfsg/include/cereal/details/helpers.hpp>
Public Member Functions | |
MapItem (Key &&key_, Value &&value_) | |
Construct a MapItem from a key and a value. | |
MapItem & | operator= (MapItem const &)=delete |
template<class Archive > | |
void | CEREAL_SERIALIZE_FUNCTION_NAME (Archive &archive) |
Serialize the MapItem with the NVPs "key" and "value". | |
Public Attributes | |
KeyType | key |
ValueType | value |
A wrapper around a key and value for serializing data into maps.
This class just provides a grouping of keys and values into a struct for human readable archives. For example, XML archives will use this wrapper to write maps like so: