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

Method Array

Examples/NoModules/Chapter 17/Ex17_01A/Array.h:32–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected