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

Name

Description

as

Arguments forwarded to the constructor of T.

Created with MrDocs