|
QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
|
#include "offset_ptr.hpp"
Public Types | |
| using | pointer = T * |
| The pointer type. | |
| using | element_type = T |
| The pointed to type. | |
Public Member Functions | |
| constexpr | atomic_offset_ptr (std::memory_order w=std::memory_order_seq_cst) noexcept |
| Construct a null pointer. | |
| constexpr | atomic_offset_ptr (std::nullptr_t, std::memory_order w=std::memory_order_seq_cst) noexcept |
| Implicitly construct a null pointer. | |
| constexpr | atomic_offset_ptr (const atomic_offset_ptr &o, std::memory_order w=std::memory_order_seq_cst, std::memory_order r=std::memory_order_seq_cst) noexcept |
| Copy constructor. | |
| constexpr | atomic_offset_ptr (atomic_offset_ptr &&o, std::memory_order w=std::memory_order_seq_cst, std::memory_order r=std::memory_order_seq_cst) noexcept |
| Move constructor. | |
| constexpr atomic_offset_ptr & | operator= (const atomic_offset_ptr &o) noexcept |
| Copy assignment. | |
| constexpr atomic_offset_ptr & | operator= (atomic_offset_ptr &&o) noexcept |
| Move assignment. | |
| ~atomic_offset_ptr ()=default | |
| constexpr | atomic_offset_ptr (pointer v, std::memory_order w=std::memory_order_seq_cst) |
| Implicitly construct. | |
| constexpr pointer | get (std::memory_order r=std::memory_order_seq_cst) const noexcept |
| Get. | |
| constexpr void | set (pointer v, std::memory_order w=std::memory_order_seq_cst) noexcept |
| Set. | |
| using quickcpplib::_xxx::offset_ptr::atomic_offset_ptr< T >::pointer = T * |
The pointer type.
| using quickcpplib::_xxx::offset_ptr::atomic_offset_ptr< T >::element_type = T |
The pointed to type.
|
inlineconstexprnoexcept |
Construct a null pointer.
|
inlineconstexprnoexcept |
Implicitly construct a null pointer.
|
inlineconstexprnoexcept |
Copy constructor.
|
inlineconstexprnoexcept |
Move constructor.
|
default |
|
inlineconstexpr |
Implicitly construct.
|
inlineconstexprnoexcept |
Copy assignment.
|
inlineconstexprnoexcept |
Move assignment.
|
inlineconstexprnoexcept |
Get.
|
inlineconstexprnoexcept |
Set.