cereal_fwd
Fork of cereal library adding archive supporting forward compatibility
cereal::traits::wrap_polymorphic_weak_ptr< A > Struct Template Reference

Wrap polymorphic weak_ptr in shared_ptr. More...

#include </home/breiker/code/git/cereal_fwd_github/include/cereal/details/traits.hpp>

Inheritance diagram for cereal::traits::wrap_polymorphic_weak_ptr< A >:

Detailed Description

template<class A>
struct cereal::traits::wrap_polymorphic_weak_ptr< A >

Wrap polymorphic weak_ptr in shared_ptr.

Makes one more level of indirection during save and load of weak_ptr It's inconsistent with non-polymorphic weak_ptr which is directly saved into PtrWrapper. True is default for compatibility reasons.


The documentation for this struct was generated from the following file: