Get the first element of this container.
337 {
338 std::shared_lock<std::shared_mutex> lock(
m_Mutex);
339
340 if (
size() == 0)
return nullptr;
341
343 }
std::shared_mutex m_Mutex
Mutex for this container.
std::unordered_map< K, V > m_Map
size_t size()
The container's element size.
std::list< K > m_Keys
The container keeps iter in order.