SpiecsEngine
 
Loading...
Searching...
No Matches

◆ Clear()

template<typename K , typename V >
void scl::thread_unordered_map< K, V >::Clear ( )
inline

Clear this unordered_map.

Definition at line 152 of file ThreadUnorderedMap.h.

153 {
154 std::unique_lock<std::shared_mutex> lock(m_Mutex);
155
156 m_Map.clear();
157 }
std::shared_mutex m_Mutex
Mutex of this queue.
std::unordered_map< K, V > m_Map
This wrapped unordered_map.