| 22 | // memory. This is safe since this is an interprocess communication happening the same |
| 23 | // machine. |
| 24 | template <typename T> void interprocess_serialize ( const T& item, std::ostream& out) { serialize(item, out); } |
| 25 | template <typename T> void interprocess_deserialize (T& item, std::istream& in) { deserialize(item, in); } |
| 26 | |
| 27 | // But have overloads for direct memory copies for some types since this is faster than |