deal.II version GIT relicensing-6839-g338455934c 2026-10-02 12:10:01+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
Threads::internal::return_value< RT > Struct Template Reference

#include <deal.II/base/thread_management.h>

Detailed Description

template<typename RT>
struct Threads::internal::return_value< RT >

Definition at line 220 of file thread_management.h.

Public Types

using reference_type = RT &
 

Public Member Functions

 return_value ()
 
reference_type get ()
 
void set (RT &&v)
 
void set_from (std::future< RT > &v)
 

Private Attributes

RT value
 
bool value_is_initialized
 

Member Typedef Documentation

◆ reference_type

template<typename RT >
using Threads::internal::return_value< RT >::reference_type = RT &

Definition at line 227 of file thread_management.h.

Constructor & Destructor Documentation

◆ return_value()

template<typename RT >
Threads::internal::return_value< RT >::return_value ( )
inline

Definition at line 229 of file thread_management.h.

Member Function Documentation

◆ get()

template<typename RT >
reference_type Threads::internal::return_value< RT >::get ( )
inline

Definition at line 235 of file thread_management.h.

◆ set()

template<typename RT >
void Threads::internal::return_value< RT >::set ( RT &&  v)
inline

Definition at line 247 of file thread_management.h.

◆ set_from()

template<typename RT >
void Threads::internal::return_value< RT >::set_from ( std::future< RT > &  v)
inline

Set the value from the given std::future object. If the future object holds an exception, the set will not happen and this function instead throws the exception stored in the future object.

Definition at line 258 of file thread_management.h.

Member Data Documentation

◆ value

template<typename RT >
RT Threads::internal::return_value< RT >::value
private

Definition at line 223 of file thread_management.h.

◆ value_is_initialized

template<typename RT >
bool Threads::internal::return_value< RT >::value_is_initialized
private

Definition at line 224 of file thread_management.h.


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