ReactivePlusPlus
ReactiveX implementation for C++20
|
Disposable invokes underlying callable on disposing. More...
#include <callback_disposable.hpp>
Public Member Functions | |
callback_disposable (Fn &&fn) | |
callback_disposable (const Fn &fn) | |
Public Member Functions inherited from rpp::details::base_disposable_impl< interface_disposable > | |
base_disposable_impl (const base_disposable_impl &)=delete | |
base_disposable_impl (base_disposable_impl &&) noexcept=delete | |
bool | is_disposed () const noexcept final |
base_disposable_impl (const base_disposable_impl &)=delete | |
base_disposable_impl (base_disposable_impl &&) noexcept=delete | |
bool | is_disposed () const noexcept final |
Public Member Functions inherited from rpp::interface_disposable | |
void | dispose () noexcept |
Dispose disposable and free any underlying resources and etc. | |
Additional Inherited Members | |
Protected Types inherited from rpp::interface_disposable | |
enum class | Mode : bool { Disposing = 0 , Destroying = 1 } |
Disposable invokes underlying callable on disposing.