ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
rpp::callback_disposable< Fn > Class Template Referencefinal

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 }
 

Detailed Description

template<rpp::constraint::is_nothrow_invocable Fn>
class rpp::callback_disposable< Fn >

Disposable invokes underlying callable on disposing.


The documentation for this class was generated from the following file: