MT Core (C++)
Core library for replacing C++ standard in project usage
Loading...
Searching...
No Matches
mtcore::thread::Select<> Struct Reference

Base case for a select statement Use the "select" method directly for instantiation. More...

#include <select.hpp>

Inheritance diagram for mtcore::thread::Select<>:
Collaboration diagram for mtcore::thread::Select<>:

Public Member Functions

Result< void, SelectErrorsrun_step ()
 
Result< void, SelectErrorsoperator() ()
 
bool prevents_deadlock () const noexcept
 
bool skip () const noexcept
 

Detailed Description

Base case for a select statement Use the "select" method directly for instantiation.

See also
select

Definition at line 351 of file select.hpp.

Member Function Documentation

◆ operator()()

Result< void, SelectErrors > mtcore::thread::Select<>::operator() ( )
inlinenodiscard

Definition at line 353 of file select.hpp.

353{ return impl::exec(*this); }
Underlying type for a select statement Use the "select" method directly for instantiation.
Definition select.hpp:56

◆ prevents_deadlock()

bool mtcore::thread::Select<>::prevents_deadlock ( ) const
inlinenodiscardnoexcept

Definition at line 355 of file select.hpp.

355{ return false; }

◆ run_step()

Result< void, SelectErrors > mtcore::thread::Select<>::run_step ( )
inline

Definition at line 352 of file select.hpp.

Error< Underlying > error(Underlying err)
Creates an error.
Definition result.hpp:425
Here is the call graph for this function:

◆ skip()

bool mtcore::thread::Select<>::skip ( ) const
inlinenodiscardnoexcept

Definition at line 356 of file select.hpp.

356{ return false; }

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