Boost logo

Boost :

Subject: Re: [boost] [ratio][mpl] static metafunctions
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-12-30 16:52:58


At Thu, 30 Dec 2010 22:45:12 +0100,
vicente.botet wrote:
>
> [1 <text/plain; iso-8859-1 (quoted-printable)>]
> Hi,
>
> during the Boost.Ratio review as requested to push some of the static integer metafunctions as static_abs, static_sign, static_gcd, static_lcm to a public library.
>
> At the begining I has the impression that these functions should be added to Boost.Integer or Boost.Math, but after reflexion I think that these static metafunctions could be better integrated into Boost.MPL with the existing integral functions. I have prepared a patch for 3 of them.
>
> Do you think that these can be added to Boost.MPL if I provide the needed documentation and tests?
>

Looks good to me. Aleksey?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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