|
Boost Users : |
Subject: [Boost-users] [Accumulators] Matching via ADL.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2009-09-08 07:41:59
In this code sequence:
boost::accumulators::accumulator_set<
long,
boost::accumulators::features<
boost::accumulators::tag::sum > > my_acc;
long f( )
{
using namespace boost::accumulators;
return sum( my_acc );
}
why do I need a using declaration? Shouldn't sum() be found
via ADL?
Using Boost 1.39 & MSVC 8.
Thanks
- Rob.
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