MyraMath
Static Public Member Functions | List of all members
myra::ReaderWriter< T > Class Template Reference

Specialize this class liberally. See /detail for example specializations, for various std::containers. More...

#include <ReaderWriter.h>

Static Public Member Functions

static T read (InputStream &in)
 .. read() should try to delegate to a stream constructor, return T(in)
 
static void write (const T &t, OutputStream &out)
 .. and write() should try to delegate to a member function, T.write(out)
 

Detailed Description

template<class T>
class myra::ReaderWriter< T >

Specialize this class liberally. See /detail for example specializations, for various std::containers.

Whenever a (user-defined) T is encountered that lacks a ReaderWriter<T> specialization..


The documentation for this class was generated from the following files: