MCPcopy Create free account
hub / github.com/Adlik/Adlik / Array

Method Array

cub/array/array.h:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 };
75
76 Array() {
77 STATIC_ASSERT(N > 0);
78 STATIC_ASSERT(std::is_default_constructible<T>::value);
79 for (size_t i = 0; i < N; i++) {
80 new (elems[i].alloc()) T();
81 }
82 }
83
84 template <typename... ARGS>
85 Array(ARGS&&... args) {

Callers

nothing calls this directly

Calls 1

allocMethod · 0.45

Tested by

no test coverage detected