YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
yaclib::detail::SharedCore< V, E > Class Template Reference

#include <shared_core.hpp>

Inheritance diagram for yaclib::detail::SharedCore< V, E >:
[legend]
Collaboration diagram for yaclib::detail::SharedCore< V, E >:
[legend]

Public Member Functions

 SharedCore () noexcept
 
void Attach (Promise< V, E > &&p)
 
template<typename... Args>
void Set (Args &&... args)
 
 ~SharedCore ()
 
- Public Member Functions inherited from yaclib::IRef
virtual void IncRef () noexcept
 Increments reference counter.
 
virtual void DecRef () noexcept
 Decrements reference counter.
 
virtual ~IRef () noexcept=default
 

Detailed Description

template<typename V, typename E>
class yaclib::detail::SharedCore< V, E >

Definition at line 16 of file shared_core.hpp.

Constructor & Destructor Documentation

◆ SharedCore()

template<typename V , typename E >
yaclib::detail::SharedCore< V, E >::SharedCore ( )
inlinenoexcept

Definition at line 20 of file shared_core.hpp.

◆ ~SharedCore()

Member Function Documentation

◆ Attach()

◆ Set()

template<typename V , typename E >
template<typename... Args>
void yaclib::detail::SharedCore< V, E >::Set ( Args &&...  args)
inline

Member Data Documentation

◆ _result


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