Boost logo

Boost :

Subject: Re: [boost] [chrono] Dependency on math?
From: Beman Dawes (bdawes_at_[hidden])
Date: 2015-01-09 14:03:31


On Fri, Jan 9, 2015 at 1:53 PM, John Maddock <boost.regex_at_[hidden]> wrote:
>>> The latest dependency report shows chrono as having a dependency on math.
>>
>>
>> chrono's dependency on math is only for common_factor_rt.hpp:
>>
>> http://www.pdimov.com/tmp/report-develop-3b5a9f4/chrono.html#math
>>
>> common_factor_rt.hpp and the accompanying _ct.hpp appear to belong to
>> Integer. This actually seems a low-hanging fruit; these files are even
>> authored by Daryle Walker et al, and Daryle is, I believe, the original
>> author of Integer. Not clear how they ended up in Math.
>
>
> They were there already when Paul and I staged a coup ;)
>
> But yes they could be moved into integer relatively easily.

While I certainly don't want you and Paul to "hack [math] apart in a
hurry", moving those two headers to integer would seem to make more
sense than asking Vicente to duplicate code in chrono.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk