MCPcopy Create free account
hub / github.com/Kitware/CMake / copyConstruct

Method copyConstruct

Utilities/cmcppdap/include/dap/typeof.h:36–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 inline size_t alignment() const override { return alignof(T); }
35 inline void construct(void* ptr) const override { new (ptr) T(); }
36 inline void copyConstruct(void* dst, const void* src) const override {
37 new (dst) T(*reinterpret_cast<const T*>(src));
38 }
39 inline void destruct(void* ptr) const override {
40 reinterpret_cast<T*>(ptr)->~T();
41 }

Callers 2

anyMethod · 0.45
any.hFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected