jbson
C++11/1y BSON library
|
View on GitHub
Compile-time map. Maps element_types to C++ type for serialisation/deserialisation. More...
#include <traits.hpp>
Public Types | |
typedef boost::mpl::map<...> | map_type |
boost::mpl map. | |
Compile-time map. Maps element_types to C++ type for serialisation/deserialisation.
Container | Some container or range type used for basic_element storage. |
set | bool condition to determine whether to use the map for serialisataion or deserialisation. |
Internal mapped types depend on the container given. When used for finding serialisation types (set == true) it will use the container as-is. Otherwise it uses a boost::iterator_range.
When Container's iterators are pointers (according to is_iterator_pointer) all string types will be boost::string_ref. Otherwise strings are all std::string.
Definition at line 92 of file traits.hpp.