Go to the source code of this file.
|
| template<typename K , typename V > |
| std::list< K > | ot::listFromMapKeys (const std::map< K, V > &_map) |
| | Creates a list containing all the keys from the provided map.
|
| |
| template<typename K , typename V > |
| std::list< V > | ot::listFromMapValues (const std::map< K, V > &_map) |
| | Creates a list containing all the values from the provided map.
|
| |
| template<class K , class V > |
| void | ot::removeFromMapByValue (std::map< K, V > &_map, const V &_value) |
| | Removes the value from the provided map.
|
| |
| template<typename T > |
| std::vector< T > | ot::vectorFromList (const std::list< T > &_list) |
| |
| template<typename T > |
| std::list< T > | ot::listFromVector (const std::vector< T > &_vector) |
| |
- Author
- Alexander Kuester (alexk95)
- Date
- November 2024