|
YACLib
C++ library for concurrent tasks execution
|
Reference counting interface. More...
#include <ref.hpp>
Public Member Functions | |
| virtual void | IncRef () noexcept |
| Increments reference counter. | |
| virtual void | DecRef () noexcept |
| Decrements reference counter. | |
| virtual std::size_t | GetRef () noexcept |
| virtual | ~IRef () noexcept=default |
|
virtualdefaultnoexcept |
Decrements reference counter.
Definition at line 23 of file ref.hpp.
Referenced by yaclib::OneShotEvent::TimedWaiter::Call(), yaclib::detail::SharedCore< V, E >::Retire(), yaclib::detail::UniqueCore< V, E >::Retire(), yaclib::when::SingleCombinator< Strategy, Core >::Set(), and yaclib::detail::BaseCore::SetResultImpl().
|
inlinevirtualnoexcept |
Definition at line 29 of file ref.hpp.
References YACLIB_PURE_VIRTUAL.
Referenced by yaclib::detail::SharedCore< V, E >::Retire().
Increments reference counter.
Definition at line 17 of file ref.hpp.
Referenced by yaclib::Strand::Submit().