|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
默认删除器 更多...
#include <unique_ptr.hpp>
Public 成员函数 | |
| constexpr | default_delete () noexcept=default |
| 默认构造函数 | |
| template<typename U, enable_if_t< is_convertible< U *, T * >::value, int > = 0> | |
| MSTL_CONSTEXPR20 | default_delete (const default_delete< U > &) noexcept |
| 从其他default_delete转换构造 | |
| MSTL_CONSTEXPR20 void | operator() (const T *ptr) const noexcept |
| 删除操作符 | |
| template<typename U> | |
| MSTL_CONSTEXPR20 default_delete< U > | rebind () &&noexcept |
| 重新绑定到其他类型的删除器 | |
默认删除器
| T | 元素类型 |
使用delete运算符释放单个对象的默认删除器。
在文件 unique_ptr.hpp 第 31 行定义.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |