[#absl-make_unique]
= xref:absl.adoc[absl]::make&lowbar;unique
:relfileprefix: ../
:mrdocs:

Create a `std&colon;&colon;unique&lowbar;ptr` owning a newly constructed object&period;

== Synopsis

Declared in `&lt;absl&sol;memory&sol;memory&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
using std::make&lowbar;unique;
----

== Description

Historical note&colon; Abseil once provided a C&plus;&plus;11 compatible implementation of the C&plus;&plus;14&apos;s `std&colon;&colon;make&lowbar;unique`&period; Now that C&plus;&plus;11 support has been sunsetted, `absl&colon;&colon;make&lowbar;unique` simply uses the STL&hyphen;provided implementation&period; New code should use `std&colon;&colon;make&lowbar;unique`&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
