MCPcopy Create free account
hub / github.com/IronsDu/brynet / construct

Method construct

tests/catch.hpp:7408–7411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7406
7407 template <typename... Args>
7408 void construct(Args&&... args)
7409 {
7410 new (&data) T(std::forward<Args>(args)...);
7411 }
7412
7413 template <bool AllowManualDestruction = !Destruct>
7414 typename std::enable_if<AllowManualDestruction>::type destruct()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected