MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
make_unique.hpp File Reference

Description

Provides std::make_unique-related polyfills for internal use.

Deprecated
Primarily for internal use; will be removed in an upcoming major release.

Go to the source code of this file.

Namespaces

namespace  bsoncxx
 The top-level namespace within which all bsoncxx library entities are declared.
 
namespace  bsoncxx::stdx
 Declares C++17 standard library polyfills.
 
namespace  bsoncxx::v_noabi
 Declares entities whose ABI stability is NOT guaranteed.
 
namespace  bsoncxx::v_noabi::stdx
 Declares C++17 standard library polyfills.
 

Functions

template<typename T , typename... Args>
std::unique_ptr< T > bsoncxx::stdx::make_unique (Args &&... args)
 bsoncxx::v_noabi::stdx::make_unique(Args&&... args)
 
template<typename T >
std::unique_ptr< T > bsoncxx::stdx::make_unique (std::size_t count)
 bsoncxx::v_noabi::stdx::make_unique(std::size_t count)
 
template<typename T , typename... Args>
std::unique_ptr< T > bsoncxx::v_noabi::stdx::make_unique (Args &&... args)
 Equivalent to std::make_unique for non-array types.
 
template<typename T >
std::unique_ptr< T > bsoncxx::v_noabi::stdx::make_unique (std::size_t count)
 Equivalent to std::make_unique for array types.