MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / __dec_ref

Method __dec_ref

include/stdexec/__detail/__intrusive_ptr.hpp:322–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320
321 template <class _Ty, std::size_t _ReservedBits>
322 constexpr auto __enable_intrusive_from_this<_Ty, _ReservedBits>::__dec_ref() noexcept
323 -> __ptr::__bits_t<_ReservedBits>
324 {
325 auto* __data = reinterpret_cast<__control_block<_Ty, _ReservedBits>*>(
326 &__c_downcast<_Ty>(*this));
327 return __data->__dec_ref_();
328 }
329
330 template <class _Ty, std::size_t _ReservedBits>
331 template <std::size_t _Bit>

Callers

nothing calls this directly

Calls 1

__dec_ref_Method · 0.45

Tested by

no test coverage detected