WSF
UtRangeAlgorithm.hpp File Reference
#include <algorithm>
#include <map>
#include <set>
Include dependency graph for UtRangeAlgorithm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename Container>
bool contains (Container const &c, typename Container::const_reference v)
template<typename Key, typename Cmp, typename Alloc>
bool contains (std::set< Key, Cmp, Alloc > const &s, Key const &k)
template<typename Key, typename Value, typename Cmp, typename Alloc>
bool contains (std::map< Key, Value, Cmp, Alloc > const &m, Key const &k)
template<typename T>
void unique (std::vector< T > &aVector)
template<typename T>
void sort (std::vector< T > &aVector)

Function Documentation

◆ contains() [1/3]

template<typename Container>
bool contains ( Container const & c,
typename Container::const_reference v )

◆ contains() [2/3]

template<typename Key, typename Value, typename Cmp, typename Alloc>
bool contains ( std::map< Key, Value, Cmp, Alloc > const & m,
Key const & k )

◆ contains() [3/3]

template<typename Key, typename Cmp, typename Alloc>
bool contains ( std::set< Key, Cmp, Alloc > const & s,
Key const & k )

◆ sort()

◆ unique()

template<typename T>
void unique ( std::vector< T > & aVector)
Copyrights Multiple, All Rights Reserved