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

Go to the source code of this file.

Classes

struct  gnash::SecondElement< T >
 Retrieve the second element of a container with std::pairs. More...
struct  gnash::FirstElement< T >
 Retrieve the first element of a container with std::pairs. More...
struct  gnash::CreatePointer< T >
 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.