MySQL 8.0.40
Source Code Documentation
|
a simple move-only type to track ownership. More...
Public Member Functions | |
Owner ()=default | |
Owner (const Owner &)=delete | |
Owner & | operator= (const Owner &)=delete |
Owner (Owner &&rhs) | |
Owner & | operator= (Owner &&rhs) |
~Owner ()=default | |
void | release () |
release ownership. More... | |
operator bool () const | |
check if still owned. More... | |
Private Attributes | |
bool | owns_ {true} |
a simple move-only type to track ownership.
|
default |
|
delete |
|
inline |
|
default |
|
inline |
check if still owned.
|
inline |
release ownership.
|
private |