|
Boost : |
Subject: Re: [boost] [type_traits] Rewrite and dependency free version
From: Peter Dimov (lists_at_[hidden])
Date: 2015-02-01 11:26:49
> It's a true one. These libraries include serialization headers. If
> serialization is not installed, these libraries break.
...
> The reason Stephen talks about splitting serialization is that adding
> serialization support needs only a few includes, independent of the rest
> of the library. If these are separated into 'serialization_core', there'll
> be no problem with including them.
See for example this:
http://www.pdimov.com/tmp/report-develop-c3bb6eb/date_time.html#serialization
Also, for an even more dramatic case, this:
http://www.pdimov.com/tmp/report-develop-c3bb6eb/uuid.html#serialization
(You could call that a false dependency, but note what it only needs to
include, and for what reason.)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk