12
12
constructor) using the ti(make_shared) template. The function template
13
13
tt(std::make_shared) has the following prototype:
16
16
std::shared_ptr<Type> std::make_shared(Args ...args);
18
18
Before using tt(make_shared) the tthi(memory) header file must have
22
22
tt(args) to its constructor (using em(perfect forwarding), see section
23
23
ref(PERFECT)), and returns a tt(shared_ptr) initialized with the address of
24
24
the newly allocated tt(Type) object.