Gnash  0.8.10
Classes | Namespaces | Functions
GnashAlgorithm.h File Reference
#include <algorithm>
#include <boost/bind.hpp>

Go to the source code of this file.

Classes

struct  gnash::CreatePointer
 Return a pointer to a type. More...

Namespaces

namespace  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.
template<typename T , size_t N>
size_t gnash::arraySize (T(&)[N])
 Get the size of an array without passing a pointer by mistake.
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.