Bitcoin Core  0.18.99
P2P Digital Currency
Functions
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.

Functions

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.

Definition at line 14 of file memory.h.