STXXL  1.4-dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
swap_vector.h File Reference
#include <algorithm>
#include <cassert>
#include <stxxl/bits/verbose.h>
#include <stxxl/bits/noncopyable.h>

Go to the source code of this file.


class  stxxl::swap_vector< ValueType >
 Vector that avoids copying of ValueType objects in push_back() (here: swap_back()) and resize() operations. More...


 STXXL library namespace


template<class ValueType >
void std::swap (stxxl::swap_vector< ValueType > &a, stxxl::swap_vector< ValueType > &b)
template<class ForwardIterator , class UnaryPredicate >
ForwardIterator stxxl::swap_remove_if (ForwardIterator first, ForwardIterator last, UnaryPredicate pred)
 Transforms the range [first,last) into a range with all the elements for which pred returns true removed, and returns an iterator to the new end of that range. More...