ML Reference
|
#include "mlUtilsSystem.h"
#include "mlSystemWarningsDisable.h"
#include <algorithm>
#include "mlSystemWarningsRestore.h"
Go to the source code of this file.
Namespaces | |
namespace | ml |
Define the namespace name like in the ML. Default is | |
Functions | |
template<typename T > | |
bool | ml::vector_contains (const std::vector< T > &vec, const T &value) |
Helper template that searches for value in given vector vec and returns true if it was found. | |
template<typename T > | |
bool | ml::vector_remove (std::vector< T > &vec, const T &value) |
Helper template that removes the first occurrence of value in given vector vec and returns true if it was found. | |
template<typename T > | |
void | ml::vector_remove_all (std::vector< T > &vec, const T &value) |
Helper template that removes all occurrences of value in given vector vec . | |
template<typename T > | |
bool | ml::vector_replace_by_NULL (std::vector< T > &vec, const T &value) |
Helper template that replaces the first occurrence of value in given vector vec with NULL and returns true if it was found. |
Definition in file mlStdAlgorithms.h.