Gnash  0.8.11dev
Classes | Namespaces | Functions
GnashAlgorithm.h File Reference
#include <algorithm>
#include <functional>

Go to the source code of this file.

Classes

struct  gnash::CreatePointer< T >
 Return a pointer to a type. More...
 

Namespaces

 gnash
 Anonymous namespace for callbacks, local functions, event handlers etc.
 

Functions

template<typename Container , typename Predicate >
void gnash::EraseIf (Container &c, Predicate p)
 Erase elements from an associative container based on a predicate. More...
 
template<typename T , size_t N>
size_t gnash::arraySize (T(&)[N])
 Get the size of an array without passing a pointer by mistake. More...
 
template<typename T , typename U >
void gnash::foreachSecond (T begin, T end, U op)
 Call a functor on the second element of each element in a range. More...