19 Jun
2013
19 Jun
'13
11:04 a.m.
I'm not quite sure I'm understanding the question! Does boost::count( filtered_range ); not do exactly what you want?
boost::count takes a value (just like the STL), there is no version of boost::count that simply takes a range. Also, I don't understand why you'd like am rvalue ref version of count when
the argument is const
E.g. boost::cout( range | filter ); would bind to an rvalue.