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

Method Array

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected