| 417 | explicit Wrapper(T obj) : m_object(obj) {} |
| 418 | template<typename Stream> void Serialize(Stream &s) const { Formatter().Ser(s, m_object); } |
| 419 | template<typename Stream> void Unserialize(Stream &s) { Formatter().Unser(s, m_object); } |
| 420 | }; |
| 421 | |
| 422 | /** Cause serialization/deserialization of an object to be done using a specified formatter class. |