#include <utility>
#include <vector>
#include <iostream>
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) |
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.