STXXL
1.4.1
|
Equivalent to std::unique algorithms.
Removes consecutive duplicates from the stream. Uses BinaryPredicate to compare elements of the stream
Public Types | |
typedef Input::value_type | value_type |
Standard stream typedef. More... | |
Public Member Functions | |
unique (Input &input_, BinaryPredicate binary_pred_) | |
bool | empty () const |
Standard stream method. More... | |
const value_type & | operator* () const |
Standard stream method. More... | |
unique & | operator++ () |
Standard stream method. More... | |
const value_type * | operator-> () const |
Standard stream method. More... | |
Private Attributes | |
BinaryPredicate | binary_pred |
Input::value_type | current |
Input & | input |
typedef Input::value_type stxxl::stream::unique< Input, BinaryPredicate >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |