Bitcoin Core  21.99.0
P2P Digital Currency
memory.h File Reference
#include <memory>
#include <utility>
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


template<typename T , typename... Args>
std::unique_ptr< T > MakeUnique (Args &&... args)
 Substitute for C++14 std::make_unique. More...

Function Documentation

◆ MakeUnique()

template<typename T , typename... Args>
std::unique_ptr<T> MakeUnique ( Args &&...  args)

Substitute for C++14 std::make_unique.

DEPRECATED use std::make_unique in new code.

Definition at line 15 of file memory.h.