MIRA
|
Type trait that indicates whether a type can be serialized as an atomic value. More...
#include <serialization/IsAtomicSerializable.h>
Type trait that indicates whether a type can be serialized as an atomic value.
If this trait inherits from true_type, the type can be serialized as atomic value. By default all arithmetic types (int, float, etc) can be serialized as atomic value. You can specialize this trait for your own types that can also be serialized and deserialized as atomic values, e.g. the trait is specialized for strings in this way.
Requirement: the different serializers/deserializers will internally handle atomic types by trivial/generic conversion, without needing an intrusive or non-intrusive reflect() method: