$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] [modularization] How to remove the Math -> multuplecission dependency?
From: Edward Diener (eldiener_at_[hidden])
Date: 2014-06-06 09:36:55
On 6/6/2014 7:09 AM, Peter Dimov wrote:
> John Maddock wrote:
>> I would argue it's a "false positive": the header generate.hpp is a
>> maintenance header used for generating new numeric constants, and the
>> dependency to multiprecision is optional (inside #ifdef's). It is
>> however documented, so I'm loathed to just move it. There are quite a
>> few of Math's dependencies that are introduced via similar headers
>> that exist for maintenance/testing/optional use, and are not included
>> by any of the "include everything" entry point headers.
>
> Yes, Math has headers such as <boost/math/tools/test.hpp> and
> <boost/math/tools/test_data.hpp> that are probably only needed by its
> tests, and could have been in the test/ directory instead of include/.
> <boost/math/tools/remez.hpp> could have been in libs/math/minimax, and
> so on.
Despite possible maintenance complications Boost might want to explore
the idea of separate git submodules for a library's implementation
code/documentation and a library's tests. That way an end-user's
dependencies on a given library would be reduced if use of that library
does not include test dependencies.