tfel
Loading...
Searching...
No Matches
tfel::system::ThreadedTaskResult< T > Struct Template Reference

a class standing for the result of a taks More...

#include </home/runner/work/tfel/tfel/include/TFEL/System/ThreadedTaskResult.hxx>

Inheritance diagram for tfel::system::ThreadedTaskResult< T >:
tfel::system::ThreadedTaskResultBase

Public Member Functions

 ThreadedTaskResult ()
 default constructor
template<typename... Args>
requires ( (sizeof...(Args) != 1) || (!std::is_same_v<std::remove_cvref_t<Args>, ThreadedTaskResult> && ...))
 ThreadedTaskResult (Args &&...)
 constructor of T
 ThreadedTaskResult (ThreadedTaskResult &&) noexcept
 move constructor
 ThreadedTaskResult (const ThreadedTaskResult &)
 copy constructor
ThreadedTaskResult & operator= (const ThreadedTaskResult &)
 assignement
ThreadedTaskResult & operator= (ThreadedTaskResult &&) noexcept
 move assignement
ThreadedTaskResult & operator= (const T &)
 assignement
ThreadedTaskResult & operator= (T &&)
 move assignement
void setException (const std::exception_ptr &)
 set current exception
void rethrow ()
 throw the catched exception
 explicit (false) operator bool() const
 conversion to bool
T & operator* ()
 conversion to underlying type
const T & operator* () const
 conversion to underlying type
T * operator-> ()
 conversion to underlying type
const T * operator-> () const
 conversion to underlying type
 ~ThreadedTaskResult ()
 destructor
template<typename... Args>
requires ( (sizeof...(Args) != 1) || (!std::is_same_v<std::remove_cvref_t<Args>, ThreadedTaskResult> && ...))
 ThreadedTaskResult (Args &&... args)

Additional Inherited Members

Static Protected Member Functions inherited from tfel::system::ThreadedTaskResultBase
static void throwBadCastException ()
 thr
static void throwNullException ()
 thr

Detailed Description

template<typename T>
struct tfel::system::ThreadedTaskResult< T >

a class standing for the result of a taks

Constructor & Destructor Documentation

◆ ThreadedTaskResult()

template<typename T>
template<typename... Args>
requires ( (sizeof...(Args) != 1) || (!std::is_same_v<std::remove_cvref_t<Args>, ThreadedTaskResult> && ...))
tfel::system::ThreadedTaskResult< T >::ThreadedTaskResult ( Args && ...)
explicit

constructor of T

Parameters
[in]argsarguments to T constructor

The documentation for this struct was generated from the following files: