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_, BinaryPredicate binary_pred_) | |
| 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. | |
Equivalent to std::unique algorithms.
Removes consecutive duplicates from the stream. Uses BinaryPredicate to compare elements of the stream
| typedef Input::value_type stream::unique< Input, BinaryPredicate >::value_type |
Standard stream typedef.
| bool stream::unique< Input, BinaryPredicate >::empty | ( | ) | const [inline] |
Standard stream method.
| const value_type& stream::unique< Input, BinaryPredicate >::operator* | ( | ) | const [inline] |
Standard stream method.
| unique& stream::unique< Input, BinaryPredicate >::operator++ | ( | ) | [inline] |
Standard stream method.
| const value_type* stream::unique< Input, BinaryPredicate >::operator-> | ( | ) | const [inline] |
Standard stream method.
1.7.1