6 Jun
2014
6 Jun
'14
6:12 a.m.
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