$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Making two Boost libraries interoperate
From: stefan (stefan_at_[hidden])
Date: 2019-04-24 16:00:50
On 2019-04-24 11:56 a.m., Joaquin M López Muñoz via Boost wrote:
>
> Not sure if this helps, but the way I did it in Boost.Flyweight is by
> isolating all serialization code
> in a separate header:
>
> https://www.boost.org/libs/flyweight/doc/reference/flyweight.html#serialize_synopsis
>
>
> So, if I want to serialize boost::flyweight's, I need to include
> <boost/flyweight/serialize.hpp>
> and link with Boost.Serialization. This, I think, makes
> Boost.Flyweight technically not dependent
> on Boost.Serialization.
Right, this is *exactly* what I tried to propose as the right approach
in my first reply. :-)
Stefan
-- ...ich hab' noch einen Koffer in Berlin...