Updated examples' comments.

This commit is contained in:
Benjamin Bouvier 2012-07-24 17:12:18 +02:00
commit 09af612749
4 changed files with 21 additions and 40 deletions

View file

@ -3,6 +3,14 @@
#include <serial/eoSerial.h>
/**
* @file t-mpi-common.h
*
* This file shows an example of serialization of a primitive type, so as to be used in a parallel algorithm.
* It is fully compatible with the basic type, by implementing conversion operator and constructor based on type.
* It can contain any simple type which can be written in a std::ostream.
*/
template< class T >
struct SerializableBase : public eoserial::Persistent
{