Implements Remove function for Dictionary.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
1f882b9596
commit
7c98d3d4eb
|
@ -61,6 +61,10 @@ namespace Arbutils::Collections {
|
|||
return true;
|
||||
}
|
||||
|
||||
inline void Remove(KeyT key){
|
||||
_map.erase(key);
|
||||
}
|
||||
|
||||
[[nodiscard]] inline size_t Count() const { return _map.size(); }
|
||||
|
||||
inline bool Has(KeyT key) const noexcept { return _map.find(key) != _map.end(); }
|
||||
|
|
Loading…
Reference in New Issue