Subject: Re: [boost] [modularization] Modularizing Boost (modularization)
From: Peter Dimov (lists_at_[hidden])
Date: 2013-11-04 06:38:01
Stephen Kelly wrote:
> On 11/01/2013 06:00 PM, John Maddock wrote:
> >> ->exception is unavoidable because of throw_exception. ->detail is
> >> detail/interlocked.hpp (self-contained header), which I'll kill by
> >> making a local copy. ->utility is utility/addressof.hpp (another
> >> self-contained header), which I will likewise deal with.
> > Oh, please don't start making copies of things just to please a
> > dependency analyzer - there should be "one true copy" of each file,
> > spawning multiple copies all over the shop is just insane.
> I agree. The right solution is not copies.
It kind of depends. Trivial utilities such as add_reference, remove_extent,
is_array, addressof consist of a few lines of code (not counting the
workarounds, many of them obsolete, others not applicable to a narrow use
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk