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

Method Array

Examples/NoModules/Chapter 18/Ex18_01/Array.h:29–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected