{ \
namespace serialization::xml \
{ \
template <> \
{ \
static constexpr const char* value = X; \
static_assert(value[0] == '.', "XML extension value must start with a '.'"); \
}; \
} \
namespace serialization::json \
{ \
template <> \
{ \
static constexpr const char* value = J; \
static_assert(value[0] == '.', "JSON extension value must start with a '.'"); \
}; \
} \
namespace serialization::binary \
{ \
template <> \
{ \
static constexpr const char* value = B; \
static_assert(value[0] == '.', "Binary extension value must start with a '.'"); \
}; \
} \
}
Definition polygon_mesh.h:47
Namespace owning boost's hash_is_avalanching, and defined iff boost has the trait at all.
Definition allowed_collision_matrix.h:15
A macro for defining serialization extension for classes.