KiCad PCB EDA Suite
kicad_algo.h File Reference
#include <algorithm>

Go to the source code of this file.

Namespaces

 alg
 

Functions

template<typename _InputIterator , typename _Function >
void alg::adjacent_pairs (_InputIterator __first, _InputIterator __last, _Function __f)
 Apply a function to every sequential pair of elements of a sequence. More...
 
template<typename _InputIterator , typename _Function >
void alg::for_all_pairs (_InputIterator __first, _InputIterator __last, _Function __f)
 Apply a function to every possible pair of elements of a sequence. More...
 
template<class _Container , typename _Value >
bool alg::contains (const _Container &__container, _Value __value)
 Returns true if the container contains the given value. More...