|
opynsim
Unofficial C++ Documentation
|
#include <copy_on_upd_ptr.h>
Public Types | |
| using | pointer = T * |
| using | element_type = std::remove_extent_t< T > |
Public Member Functions | |
| const element_type * | get () const noexcept |
| element_type * | upd () |
| const T & | operator* () const noexcept |
| const T * | operator-> () const noexcept |
Friends | |
| struct | std::hash< CopyOnUpdPtr > |
| template<typename U , typename... Args> | |
| CopyOnUpdPtr< U > | make_cow (Args &&...) |
| void | swap (CopyOnUpdPtr &a, CopyOnUpdPtr &b) noexcept |
| template<typename U > | |
| bool | operator== (const CopyOnUpdPtr &lhs, const CopyOnUpdPtr< U > &rhs) |
| template<typename U > | |
| auto | operator<=> (const CopyOnUpdPtr &lhs, const CopyOnUpdPtr< U > &rhs) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |