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.

Andrew Hundt

Robotics Engineer
National Robotics Engineering Center
Carnegie Mellon University

Boost list run by bdawes at, gregod at, cpdaniel at, john at