According to Stroustrup’s “The C++ Programming Language” it was just an over-sight.
(as a citation, the same question answered in boost mail-lists: copy_if)
More Related Contents:
- Where can I get a “useful” C++ binary search algorithm?
- std::transform() and toupper(), no matching function
- How to get a random element from a C++ container?
- c++ sort keeping track of indices [duplicate]
- Reorder vector using a vector of indices [duplicate]
- How can I sort an STL map by value?
- How can std::make_heap be implemented while making at most 3N comparisons?
- What is the right approach when using STL container for median calculation?
- std::back_inserter for a std::set?
- Is it more efficient to copy a vector by reserving and copying, or by creating and swapping? [duplicate]
- stl ordering – strict weak ordering
- Order Statistic Tree in C++
- stl::map assert [closed]
- C++ – Find numbers between first and last negative numbers in Array
- Is std::vector so much slower than plain arrays?
- Rotating a point about another point (2D)
- Create Random Number Sequence with No Repeats
- How to get std::vector pointer to the raw data?
- Fast ceiling of an integer division in C / C++
- Why use functors over functions?
- How to declare a vector of atomic in C++
- How to iterate over a priority_queue?
- The intersection of two sorted arrays
- How does std::copy work with stream iterators
- sine wave that slowly ramps up frequency from f1 to f2 for a given time
- Why would anyone use set instead of unordered_set?
- what does `using std::swap` inside the body of a class method implementation mean?
- error for hash function of pair of ints
- Is it possible to implement lock free map in C++
- Checking if all elements of a vector are equal in C++