MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
bsoncxx::v_noabi::stdx Namespace Reference

Description

Declares C++17 standard library polyfills.

Classes

class  optional
 A polyfill for std::optional<T>. More...
 
class  string_view
 A polyfill for std::string_view. More...
 

Functions

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

Function Documentation

◆ make_unique() [1/2]

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.

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

◆ make_unique() [2/2]

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.

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