Interface of disposable.
More...
#include <interface_disposable.hpp>
|
virtual bool | is_disposed () const noexcept=0 |
| Check if this disposable is just disposed.
|
|
void | dispose () noexcept |
| Dispose disposable and free any underlying resources and etc.
|
|
|
enum class | Mode : bool { Disposing = 0
, Destroying = 1
} |
|
|
virtual void | dispose_impl (Mode mode) noexcept=0 |
|
◆ dispose()
void rpp::interface_disposable::dispose |
( |
| ) |
|
|
inlinenoexcept |
Dispose disposable and free any underlying resources and etc.
- Attention
- This function must be thread-safe
◆ is_disposed()
virtual bool rpp::interface_disposable::is_disposed |
( |
| ) |
const |
|
pure virtualnoexcept |
The documentation for this struct was generated from the following file: