#include <algorithm>
Go to the source code of this file.
|
namespace | ug |
| the ug namespace
|
|
|
template<class TType > |
int | ug::ArrayEraseEntry (TType *array, const TType &entry, size_t size) |
| removes the first occurance of the specified entry.
|
|
template<class TType > |
bool | ug::ArrayReplaceEntry (TType *array, const TType &newEntry, const TType &oldEntry, size_t size) |
| replaces the first occurance of oldEntry with newEntry
|
|
template<class TType > |
void | ug::ArraySwapWithLast (TType *array, const TType &entry, size_t size) |
| Swaps the first entry with the given value with the last entry in the list.
|
|