Boost logo

Boost :

Subject: Re: [boost] [ratio][mpl] static metafunctions
From: Aleksey Gurtovoy (agurtovoy_at_[hidden])
Date: 2010-12-31 01:06:54


On Thu, 30 Dec 2010 15:52:58 -0600, Dave Abrahams <dave_at_[hidden]>
wrote:

> 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?

I'd drop BOOST_MPL_CFG_MSVC_ETI_BUG workarounds since they are only
relevant for MSVC < 7.1, otherwise yes, I will be happy to accept this
(with tests and docs :).

-- 
Aleksey Gurtovoy
MetaCommunications Engineering

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