[#absl-make_unique] = xref:absl.adoc[absl]::make_unique :relfileprefix: ../ :mrdocs: Create a `std::unique_ptr` owning a newly constructed object. == Synopsis Declared in `<absl/memory/memory.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- using std::make_unique; ---- == Description Historical note: Abseil once provided a C++11 compatible implementation of the C++14's `std::make_unique`. Now that C++11 support has been sunsetted, `absl::make_unique` simply uses the STL‐provided implementation. New code should use `std::make_unique`. [.small]#Created with https://www.mrdocs.com[MrDocs]#