OpenEnroth 73e68f7
Loading...
Searching...
No Matches
is_memcopy_serializable< T > Struct Template Reference

#include <MemCopySerialization.h>

Inheritance diagram for is_memcopy_serializable< T >:

Detailed Description

template<class T>
struct is_memcopy_serializable< T >

Type trait that's used by the binary serialization framework to check if a type can be binary-serialized with a simple memcpy call.

By default, only arithmetic (floating point or integral) types are memcopy-serializable.

Instead of specializing this trait directly for your class, use MM_DECLARE_MEMCOPY_SERIALIZABLE.

Template Parameters
TType to get the trait value for.
See also
is_memcopy_serializable_v
MM_DECLARE_MEMCOPY_SERIALIZABLE

The documentation for this struct was generated from the following file: