Home
last modified time | relevance | path

Searched defs:__allocation_guard (Results 1 – 1 of 1) sorted by relevance

/freebsd-src/contrib/llvm-project/libcxx/include/__memory/
H A Dallocation_guard.h48 struct __allocation_guard { struct
53 _LIBCPP_HIDE_FROM_ABI explicit __allocation_guard(_AllocT __alloc, _Size __n) in __allocation_guard() function
59 _LIBCPP_HIDE_FROM_ABI ~__allocation_guard() _NOEXCEPT { __destroy(); } in ~__allocation_guard() argument
62 _LIBCPP_HIDE_FROM_ABI __allocation_guard(__allocation_guard&& __other) _NOEXCEPT in __allocation_guard() function
69 _LIBCPP_HIDE_FROM_ABI __allocation_guard& operator=(const __allocation_guard& __other) = delete; argument
84 __release_ptr() _NOEXCEPT { // not called __release() because it's a keyword in objective-c++ in __release_ptr()
90 _LIBCPP_HIDE_FROM_ABI _Pointer __get() const _NOEXCEPT { return __ptr_; } in __get()
93 _LIBCPP_HIDE_FROM_ABI void __destroy() _NOEXCEPT { in __destroy()
99 _Alloc __alloc_;
100 _Size __n_;
[all …]