Public Member Functions

stream::unique< Input, BinaryPredicate > Class Template Reference
[Stream package]

Equivalent to std::unique algorithms. More...

#include <stream.h>

List of all members.

Public Member Functions

uniqueoperator++ ()
 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.

Detailed Description

template<class Input, class BinaryPredicate = Stopper>
class stream::unique< Input, BinaryPredicate >

Equivalent to std::unique algorithms.

Removes consecutive duplicates from the stream. Uses BinaryPredicate to compare elements of the stream


Member Function Documentation

template<class Input , class BinaryPredicate = Stopper>
bool stream::unique< Input, BinaryPredicate >::empty (  )  const [inline]

Standard stream method.

template<class Input , class BinaryPredicate = Stopper>
const value_type stream::unique< Input, BinaryPredicate >::operator* (  )  const [inline]

Standard stream method.

template<class Input , class BinaryPredicate = Stopper>
unique& stream::unique< Input, BinaryPredicate >::operator++ (  )  [inline]

Standard stream method.

template<class Input , class BinaryPredicate = Stopper>
const value_type* stream::unique< Input, BinaryPredicate >::operator-> (  )  const [inline]

Standard stream method.


The documentation for this class was generated from the following file: