SpiecsEngine
Loading...
Searching...
No Matches
◆
Insert()
[1/2]
template<typename K , typename V >
void
scl::thread_unordered_map
< K, V >::Insert
(
const K &
k
,
const V &
v
)
inline
Insert a element to this.
Parameters
[in]
k
Key.
[in]
v
Value.
Definition at line
112
of file
ThreadUnorderedMap.h
.
113
{
114
std::unique_lock<std::shared_mutex> lock(
m_Mutex
);
115
116
m_Map
[k] = v;
117
}
scl::thread_unordered_map::m_Mutex
std::shared_mutex m_Mutex
Mutex of this queue.
Definition
ThreadUnorderedMap.h:89
scl::thread_unordered_map::m_Map
std::unordered_map< K, V > m_Map
This wrapped unordered_map.
Definition
ThreadUnorderedMap.h:94
scl
thread_unordered_map
Generated on Sun Mar 8 2026 10:24:48 for SpiecsEngine by
1.10.0