Muster
 All Classes Namespaces Files Functions Variables Typedefs Macros
counter.h File Reference

Dummy output iterator that counts how many times it was assigned to. without actually storing anything. More...

#include <cstdlib>
#include <iterator>
Include dependency graph for counter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  counter_iterator< T >
 Counting output iterator that records how many times an output iterator was assigned to, but ignores the value stored. More...
 
struct  counter_iterator< T >::target
 struct representation of a no-op. Makes assignment to target do nothing. More...
 

Namespaces

 cluster
 Namespace for everything in the cluster library.
 

Functions

template<class T >
counter_iterator< T > counter (T &ref)
 Adaptor for creating type-inferred counters. More...
 

Detailed Description

Dummy output iterator that counts how many times it was assigned to. without actually storing anything.

Author
Todd Gamblin tgamb.nosp@m.lin@.nosp@m.llnl..nosp@m.gov

Definition in file counter.h.

Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Thu Sep 1 2016 using Doxygen 1.8.5