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

Method Array

Examples/NoModules/Chapter 21/Ex21_03/Array.h:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31// Forwarding default constructor template
32template <typename T> requires std::default_initializable<T> && std::destructible<T>
33Array<T>::Array()
34 : Array{0}
35{}
36
37// Constructor template
38template <typename T> requires std::default_initializable<T> && std::destructible<T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected