MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / emplace

Function emplace

benchmarks/tbb/concurrent_priority_queue.h:233–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

231 /** This operation can be safely used concurrently with other push, try_pop or emplace operations. */
232 template<typename... Args>
233 void emplace(Args&&... args) {
234 push(value_type(std::forward<Args>(args)...));
235 }
236#endif /* __TBB_CPP11_VARIADIC_TEMPLATES_PRESENT */
237#endif /* __TBB_CPP11_RVALUE_REF_PRESENT */
238

Callers

nothing calls this directly

Calls 2

pushFunction · 0.85
value_typeClass · 0.50

Tested by

no test coverage detected