I am trying to use the name-value-pairs functionality and the deferred serialization features of Cereal together, but I can't seem to get it to work.
It seems that cereal::defer( CEREAL_NVP( vecOfSharedPtrs ) )
works in the save(Archive& ar) const
function, producing correctly-named output, but writing the same in load(Archive& ar)
produces a compilation error.
I get the feeling I'm using it wrong, or it's not supported?