[Accumulators] Matching via ADL.
8 Sep
2009
8 Sep
'09
11:41 a.m.
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.
5562
Age (days ago)
5562
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Jones