WARPXM v1.10.0
|
#include <raii.h>
Public Member Functions | |
raii_base () noexcept=default | |
raii_base (raii_base &&o) noexcept | |
void | swap (raii_base &o) noexcept |
raii_base (T d) noexcept | |
T | release () |
T & | reset (T p=T()) |
operator T () noexcept | |
operator const T () const noexcept | |
T & | operator* () |
const T & | operator* () const |
T | get () noexcept |
const T | get () const noexcept |
Protected Member Functions | |
virtual void | dec (T d)=0 |
virtual void | inc (T d)=0 |
raii_base & | operator= (T d) |
~raii_base ()=default | |
Child classes need to add reset();. | |
|
protecteddefault |
Child classes need to add reset();.
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
protectedpure virtual |
|
inlinenoexcept |
|
inlinenoexcept |
|
protectedpure virtual |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inlinenoexcept |