MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / arrayConstruct

Function arrayConstruct

Sources/Shared/Containers/GrowableArray.h:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 std::is_trivially_constructible<T>::value
86 , int>::type = 0>
87 inline void arrayConstruct(ValueInitT, T* const begin, T* const end) {
88 if (begin < end) std::memset(begin, 0, (end - begin) * sizeof(T));
89 }
90
91 template<class T, typename std::enable_if<!
92 /* Unlike with Array, where is_trivial is used instead of

Callers 4

arrayResizeFunction · 0.85
arrayAppendFunction · 0.85
arrayInsertFunction · 0.85
AllocateAlignedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected