Stxxl
1.4.0
|
Equivalent to std::unique algorithms. More...
#include <unique.h>
Public Types | |
typedef Input::value_type | value_type |
Standard stream typedef. | |
Public Member Functions | |
unique (Input &input_) | |
unique & | operator++ () |
Standard stream method. | |
const value_type & | operator* () const |
Standard stream method. | |
const value_type * | operator-> () const |
Standard stream method. | |
bool | empty () const |
Standard stream method. | |
Private Attributes | |
Input & | input |
Input::value_type | current |
Equivalent to std::unique algorithms.
Removes consecutive duplicates from the stream.
typedef Input::value_type stxxl::stream::unique< Input, dummy_cmp_unique_ >::value_type |
stxxl::stream::unique< Input, dummy_cmp_unique_ >::unique | ( | Input & | input_ | ) | [inline] |
bool stxxl::stream::unique< Input, dummy_cmp_unique_ >::empty | ( | ) | const [inline] |
Standard stream method.
Definition at line 123 of file unique.h.
References stxxl::stream::unique< Input, BinaryPredicate >::empty().
const value_type& stxxl::stream::unique< Input, dummy_cmp_unique_ >::operator* | ( | ) | const [inline] |
unique& stxxl::stream::unique< Input, dummy_cmp_unique_ >::operator++ | ( | ) | [inline] |
const value_type* stxxl::stream::unique< Input, dummy_cmp_unique_ >::operator-> | ( | ) | const [inline] |
Input::value_type stxxl::stream::unique< Input, dummy_cmp_unique_ >::current [private] |
Input& stxxl::stream::unique< Input, dummy_cmp_unique_ >::input [private] |