Subject: Re: [boost] [math][integer] Moving integer utilities out of the mathlib.
From: Peter Dimov (lists_at_[hidden])
Date: 2015-01-10 09:14:39
John Maddock wrote:
> This does look to me like a good idea, but to remain coherent, all of
> should move, which means:
> Plus docs and tests.
One problem I see here is that the compile-time templates derive from
mpl::integral_c, which means a dependency on MPL. I doubt that anyone is
actually using anything besides ::value, but in principle, the base class
can't be removed without potentially breaking code. So, to be on the safe
side, boost/math/common_factor_ct.hpp should probably contain
template < static_gcd_type Value1, static_gcd_type Value2 >
struct boost::math::static_gcd : public mpl::integral_c<static_gcd_type,
And, for reasons well outlined in your other post, the boost/math headers
should remain in Math.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk