Boost logo

Boost :

Subject: Re: [boost] [modularization] Moving <boost/math/common_factor_ct.hpp>to TypeTraits
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-06-06 02:12:15


Le 06/06/14 03:43, Peter Dimov a écrit :
> 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.
Yes this will be better as Integer is at a lower level than Math.
>
> I wondered what Ratio uses, and you have your own implementations
> there, with mpl lambda support and everything.
Yes. ratio manage in a specific way the overflow detection.

Vicente


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