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...@lists.boost.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users