16 pack_t& operator<<(pack_t& y,
const T&x)
17 {
::pack(y,
string(),x);
return y;}
20 pack_t& operator>>(pack_t& y,T&x)
27 template <
class T>
inline MPIbuf& MPIbuf::operator<<(
const T&x)
28 {
::pack((MPIbuf_base&)*
this,
string(),const_cast<T&>(x));
return *
this;}
void pack(pack_t &targ, const string &desc, is_treenode dum, const T *const &arg)
serialise a tree (or DAG)
Definition: pack_graph.h:28
Contains definitions related to classdesc functionality.
Definition: arrays.h:2514
void unpack(unpack_t &targ, const string &desc, is_treenode dum, T *&arg)
unserialise a tree.
Definition: pack_graph.h:44