Boost logo

Boost :

Subject: Re: [boost] [modularization] Moving <boost/math/common_factor_ct.hpp>to TypeTraits
From: John Maddock (boost.regex_at_[hidden])
Date: 2014-06-06 03:57:43


On 06/06/2014 02:43, Peter Dimov wrote:
> Vicente J. Botet Escriba wrote:
>> Hi,
>>
>> moving boost/math/common_factor_ct.hpp to TypeTraits would remove the
>> dependency from Interprocess, Pool and Variant to Math.
>
> common_factor_ct.hpp defines static_gcd and static_lcm, and these seem
> candidates for 'integer' rather than type traits.

I'm not saying you're wrong to move these - they are compile time
functions rather than the usual Math lib stuff, but we shouldn't get too
carried away moving everything "just because". Users still have to be
able to find their stuff...

John.


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