MCPcopy Create free account
hub / github.com/Snaipe/Criterion / construct

Method construct

include/criterion/alloc.h:285–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283 }
284
285 inline void construct(pointer p, const T &t) { new(p) T(t); }
286 inline void construct(pointer p, T &&t) { new (p) T(std::move(t)); }
287 inline void destroy(pointer p) { p->~T(); }
288

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected