Classes | Functions

external/stl_utils.h File Reference

#include <utility>
#include <vector>
#include <iostream>
Include dependency graph for stl_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  get_first
 Functor to get the first element of a pair. Use with STL functions like transform(). More...
struct  get_second
 Functor to get the second element of a pair. Use with STL functions like transform(). More...
struct  indexed_lt_functor< Indexable >
struct  sequence
 Generator object for a strided sequence of ints. More...

Functions

template<typename Indexable >
indexed_lt_functor< Indexable > indexed_lt (const Indexable &container)
template<typename Index >
void invert (std::vector< Index > &vec)

Function Documentation

indexed_lt_functor<Indexable> indexed_lt ( const Indexable &  container )

Definition at line 42 of file stl_utils.h.

void invert ( std::vector< Index > &  vec )

Definition at line 48 of file stl_utils.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 Mon Dec 20 2010 using Doxygen 1.7.2