Boost logo

Boost Users :

Subject: Re: [Boost-users] [units][accumulators] buggy behavior for min accumulator of quantities
From: alfC (alfredo.correa_at_[hidden])
Date: 2011-03-14 01:51:18


Eric,

> This is a known shortcoming of Boost.Accumulators. Things get
> complicated when t*t has a different type than t and such. Sprinkling
> BOOST_DECLTYPE (or decltype where it's supported) would solve the issue,
> but finding all such assumptions everywhere would be hard. Appropriate
> use of a degenerate numeric archetype in all the tests would do it, but
> adding that and then adding decltype everywhere would be a big job. But
> you should file a bug, anyway.

Thanks,
bug submited. https://svn.boost.org/trac/boost/ticket/5302
(I forgot to use the wiki code formatting, sorry)

>
> Thanks,
>
> --
> Eric Niebler
> BoostPro Computinghttp://www.boostpro.com
> _______________________________________________
> Boost-users mailing list
> Boost-us..._at_[hidden]http://lists.boost.org/mailman/listinfo.cgi/boost-users


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