CnC
Functions
Automatic serialization of built-in types.

Functions

 CNC_BITWISE_SERIALIZABLE (bool)
 bool is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (char)
 char is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (signed char)
 signed char is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (unsigned char)
 unsigend char is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (short)
 short is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (unsigned short)
 unsigend short is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (int)
 int is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (unsigned int)
 unsigned int is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (long)
 long is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (unsigned long)
 unsigned long is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (long long)
 long long is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (unsigned long long)
 unsigned long long is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (float)
 float is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (double)
 double is bitwise serializable
 
 CNC_BITWISE_SERIALIZABLE (long double)
 long double is bitwise serializable
 

Detailed Description

They can be copied byte-wise.

In order to add your own class to the category bitwise_serializable, add a specialization of "serializer_category" returning bitwise_serializable for your class. (e.g. by using CnC::CNC_BITWISE_SERIALIZABLE).