Template Function mrpt::serialization::operator<<(CArchive&, const std::shared_ptr<T>&)

Function Documentation

template<class T, std::enable_if_t<!std::is_base_of_v<mrpt::serialization::CSerializable, T>>* = nullptr>
CArchive &mrpt::serialization::operator<<(CArchive &out, const std::shared_ptr<T> &pObj)

Write a shared_ptr to a non-CSerializable object