MCPcopy Create free account
hub / github.com/SergeyMakeev/ExcaliburHash / construct

Method construct

ExcaliburHash/ExcaliburHash.h:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 static inline constexpr uint32_t k_MinNumberOfBuckets = 16;
76
77 template <typename T, class... Args> static T* construct(void* EXLBR_RESTRICT ptr, Args&&... args)
78 {
79 return new (ptr) T(std::forward<Args>(args)...);
80 }
81 template <typename T> static void destruct(T* EXLBR_RESTRICT ptr) { ptr->~T(); }
82
83 template <bool hasValue, typename dummy = void> struct Storage

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected