MCPcopy Create free account
hub / github.com/Apress/beginning-cpp20 / Array

Method Array

Examples/NoModules/Chapter 18/Ex18_04/Array.h:31–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29// Constructor template
30template <typename T>
31Array<T>::Array(size_t size) : m_elements {new T[size] {}}, m_size {size}
32{}
33
34// Copy constructor template
35template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected