fpmas 1.6
fpmas::io::datapack::Serializer< T, Enable > Struct Template Reference

#include <datapack.h>

Detailed Description

template<typename T, typename Enable = void>
struct fpmas::io::datapack::Serializer< T, Enable >

Void Serializer definition. Specializations should implement the following methods:

The following method can be optionally implemented, if the buffer size required to serialize an instance of T does not depend on the instance of T itself (e.g. sizeof(int) + sizeof(char)):

Custom serializers can also be implemented. In this case, ObjectPack arguments must be replaced by BasicObjectPack<S> (or any equivalent typedef), where S is the currently implemented serializer (e.g. LightSerializer).

Template Parameters
Tdata type
EnableSFINAE condition

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