STL helpers. More...
#include "Robots/LoBot/util/range.hh"
#include <algorithm>
#include <functional>
#include <iterator>
#include <utility>
Go to the source code of this file.
Classes | |
struct | lobot::min< T > |
struct | lobot::max< T > |
struct | lobot::sum_of_squares< T > |
class | lobot::out_of_range< T > |
class | lobot::accumulator< T > |
class | lobot::map_value_comp_less< M > |
class | lobot::map_value_comp< M, C > |
Functions | |
template<typename P > | |
void | lobot::delete_ptr (P p) |
template<typename C , typename D > | |
void | lobot::purge_container (C &c, D delete_fn) |
template<typename C > | |
void | lobot::purge_container (C &c) |
template<typename M > | |
map_value_comp_less< M > | lobot::map_value_compare (const M &) |
template<typename M , typename C > | |
map_value_comp< M, C > | lobot::map_value_compare (const M &, const C &c) |
template<typename I , typename O , typename F > | |
O | lobot::transform_map (I i, I end, O out, F f) |
template<typename I , typename O , typename F > | |
O | lobot::transform_map2 (I i, I end, O out, F f) |
template<typename I , typename F > | |
F | lobot::for_each_map (I i, I last, F f) |
template<typename I , typename O , typename P > | |
void | lobot::copy_if (I i, I last, O o, P pred) |
template<typename I , typename O , typename P , typename F > | |
void | lobot::copy_if (I i, I last, O o, P pred, F func) |
template<typename C , typename T > | |
void | lobot::connect (const C &container, T &target) |
template<typename C , typename T , typename F > | |
void | lobot::connect_if (const C &src, T &dst, F pred) |
template<typename P > | |
P::first_type | lobot::get_first (const P &p) |
Functions to retrieve the individual elements of a pair. | |
template<typename P > | |
P::second_type | lobot::get_second (const P &p) |
template<typename P > | |
void | lobot::delete_first (P &p) |
Pointer deletion when the pointer is part of an std::pair. | |
template<typename P > | |
void | lobot::delete_second (P &p) |
STL helpers.
Definition in file LoSTL.H.