Gorgon Game Engine
Vector.h File Reference
Include dependency graph for Vector.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gorgon
 Root namespace for Gorgon Game Engine.
 
 Gorgon::Containers
 This namespace contains containers that are missing from STL or specifically crafted for game or GUI development.
 

Functions

template<class T_ , class V_ , class P_ >
void PushBackOrUpdate (V_ &vector, const T_ &val, P_ pred)
 This function push_backs an item to the given vector if the item does not exists in the vector using the given predicate, if the item is found, it will be updated. More...
 
template<class T_ , class V_ >
void PushBackOrUpdate (V_ &vector, T_ &&val)
 This function push_backs an item to the given vector if the item does not exists in the vector, if the item is found, it will be updated. More...
 
template<class T_ , class V_ , class P_ >
void PushBackUnique (V_ &vector, const T_ &val, P_ pred)
 This function push_backs an item to the given vector if the item does not exists in the vector using the given predicate. More...
 
template<class T_ , class V_ >
void PushBackUnique (V_ &vector, T_ &&val)
 This function push_backs an item to the given vector if the item does not exists in the vector. More...