$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Gavin Lambert (boost_at_[hidden])
Date: 2022-11-06 22:46:48
On 4/11/2022 22:40, Markus Lavin wrote:
> Ideally though it would be nice if, by some C++ magic, one could tell
> Boost serialization that pointers to this particular class require
> special handling (i.e. using the map to get the unique id) and then
> serialize them as normal in the serialize template. That way not all
> users of the framework of my program would need to know deeper details
> of the serialization strategy.
That's simple enough: just write a smart pointer class that contains
that deserialization lookup logic.