MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / emplace

Method emplace

libCacheSim/dataStructure/sparsepp/spp.h:3215–3220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3213#if !defined(SPP_NO_CXX11_VARIADIC_TEMPLATES)
3214 template <class... Args>
3215 std::pair<iterator, bool> emplace(Args&&... args)
3216 {
3217 _resize_delta(1);
3218 value_type obj(std::forward<Args>(args)...);
3219 return _insert_noresize(obj);
3220 }
3221#endif
3222
3223 // This is the normal insert routine, used by the outside world

Callers 4

emplaceMethod · 0.45
emplace_hintMethod · 0.45
emplaceMethod · 0.45
emplace_hintMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected