Boost logo

Boost :

Subject: [boost] [Review:Algorithms] all.hpp vs std::count
From: Andrew Hundt (athundt_at_[hidden])
Date: 2011-10-04 18:42:34


What is the advantage of the functions in all.hpp over std::count?

I feel like one could simply call (in pseudocode) std::count == 0,
std::count == 1, std::count == class.size() to achieve the same effect.

Cheers!
Andrew Hundt

Robotics Engineer
National Robotics Engineering Center
Carnegie Mellon University
908-720-5501


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk