make_secure_unique

Constructs an object of type T in secure memory and returns owning pointer.

Synopsis

Declared in <support/allocators/secure.h>

template<
    typename T,
    typename... Args>
secure_unique_ptr<T>
make_secure_unique(Args&&... as);

Return Value

A secure_unique_ptr owning the newly constructed object.

Parameters

NameDescription
asArguments forwarded to the constructor of T.