MyraMath
|
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) | |
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..