struct mrpt::serialization::metaprogramming::ObjectWriteToStream

Overview

An object for writing objects to a stream, intended for being used in STL algorithms.

#include <mrpt/serialization/metaprogramming_serialization.h>

struct ObjectWriteToStream
{
    // construction

    ObjectWriteToStream(mrpt::serialization::CArchive* stream);

    // methods

    template <typename T>
    void operator () (const T& ptr);
};