Equalizer  1.2.1
Classes | Defines | Functions
stdExt.h File Reference

Include extensions to the STL and define a uniform interface to them. More...

#include <co/base/compiler.h>
#include <co/base/uint128_t.h>
#include <algorithm>
#include <string>
#include <vector>
#include <hash_map>
#include <hash_set>
+ Include dependency graph for stdExt.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hash< co::base::uint128_t >

Defines

#define CO_STDEXT_STD
#define CO_STDEXT_NAMESPACE_OPEN   namespace std {
#define CO_STDEXT_NAMESPACE_CLOSE   }

Functions

template<typename C >
void usort (C &c)
 MSVC.
template<typename T >
std::vector< T >::iterator find (std::vector< T > &container, const T &element)
 Find the element in the given vector.
template<typename T >
std::vector< T >::const_iterator find (const std::vector< T > &container, const T &element)
 Find the element in the given vector.
template<typename T , typename P >
std::vector< T >::iterator find_if (std::vector< T > &container, const P &predicate)
 Find the element matching the predicate.
template<typename T , typename P >
std::vector< T >::const_iterator find_if (std::vector< const T > &container, const P &predicate)
 Find the element matching the predicate.

Detailed Description

Include extensions to the STL and define a uniform interface to them.

Definition in file stdExt.h.


Function Documentation

template<typename T >
std::vector< T >::iterator find ( std::vector< T > &  container,
const T &  element 
)

Find the element in the given vector.

Version:
1.0

Definition at line 198 of file stdExt.h.

Referenced by find().

+ Here is the caller graph for this function:

template<typename T >
std::vector< T >::const_iterator find ( const std::vector< T > &  container,
const T &  element 
)

Find the element in the given vector.

Version:
1.0

Definition at line 203 of file stdExt.h.

References find().

+ Here is the call graph for this function:

template<typename T , typename P >
std::vector< T >::iterator find_if ( std::vector< T > &  container,
const P &  predicate 
)

Find the element matching the predicate.

Version:
1.0

Definition at line 208 of file stdExt.h.

Referenced by find_if().

+ Here is the caller graph for this function:

template<typename T , typename P >
std::vector<T>::const_iterator find_if ( std::vector< const T > &  container,
const P &  predicate 
)

Find the element matching the predicate.

Version:
1.0

Definition at line 213 of file stdExt.h.

References find_if().

+ Here is the call graph for this function:

template<typename C >
void usort ( C &  c)

MSVC.

Uniquely sorts and eliminates duplicates in a STL container.

Version:
1.0

Definition at line 190 of file stdExt.h.

Generated on Fri Jun 8 2012 15:44:33 for Equalizer 1.2.1 by  doxygen 1.8.0