mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Update VecMap.hpp
This commit is contained in:
parent
c4130c589f
commit
b3b57d5b2b
@ -251,6 +251,20 @@ template < class Key, class T, class Pred = std::equal_to< Key > > struct VecMap
|
|||||||
return m_Storage.back().second;
|
return m_Storage.back().second;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
* Retrieves a reference to the front of the container.
|
||||||
|
* Available for internal use only.
|
||||||
|
*/
|
||||||
|
reference front() { return m_Storage.front(); }
|
||||||
|
const_reference front() const { return m_Storage.front(); }
|
||||||
|
|
||||||
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
* Retrieves a reference to the back of the container.
|
||||||
|
* Available for internal use only.
|
||||||
|
*/
|
||||||
|
reference back() { return m_Storage.back(); }
|
||||||
|
const_reference back() const { return m_Storage.back(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/* --------------------------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user