13#include <rpp/disposables/fwd.hpp>
36 void dispose() noexcept { dispose_impl(Mode::Disposing); }
38 template<rpp::constra
int::decayed_type TStrategy>
42 enum class Mode :
bool
48 virtual void dispose_impl(Mode mode)
noexcept = 0;
Interface of disposable.
Definition interface_disposable.hpp:23
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.
Definition interface_disposable.hpp:36