Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::mpl::abs missing
From: Dave Abrahams (dave_at_[hidden])
Date: 2011-04-09 20:27:31


At Sat, 9 Apr 2011 20:54:48 -0300,
Murilo Adriano Vasconcelos wrote:
>
> 2011/4/9 Peter Foelsche <foelsche_at_[hidden]>
>
> > There is no
> >
> > boost::mpl::abs
> >
> > Peter
> >
>
>
> There is a version of mpl::abs here:
> https://svn.boost.org/svn/boost/sandbox/SOC/2010/bits_and_ints/boost/integer/static_abs.hppwhich
> was done for a library I implemented last year.
>
> I want to ask for the MPL's maintainers to put it on the trunk.

At Sat, 9 Apr 2011 16:36:03 -0700,
Peter Foelsche wrote:
>
> It is a major annoyance that these arrithmetic operations return a
> different type than the input!
> I mean I input boost::mpl::long_ and I get a boost::mpl::integral_c

I suggest that you open tickets at http://svn.boost.org/trac/boost.
Maintenance of MPL is not very active, so I can't promise much, but if
you don't open a ticket, your request will almost certainly be
forgotten.

Regards,

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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net