#ifndef MARSHAL_H
#define MARSHAL_H

#include "persifs.h"


template<class T>
struct marshaller
{
  marshaller() { }
  str operator() (const T & m) const
    { return m; }
};

template<class T>
struct unmarshaller
{
  unmarshaller() { }
  T * operator() (str s) const {
    return New T(s);
  }
};



#endif // MARSHAL_H
