deal.II version 9.7.0
\(\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
Threads::internal::return_value< void > Struct Reference

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

Detailed Description

Definition at line 361 of file thread_management.h.

Inheritance diagram for Threads::internal::return_value< void >:

Public Types

using reference_type = void

Public Member Functions

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

Static Public Member Functions

static void get ()

Private Attributes

void value
bool value_is_initialized

Member Typedef Documentation

◆ reference_type

using Threads::internal::return_value< void >::reference_type = void

Definition at line 363 of file thread_management.h.

Constructor & Destructor Documentation

◆ return_value()

Threads::internal::return_value< void >::return_value ( )
inline

Definition at line 231 of file thread_management.h.

Member Function Documentation

◆ get()

void Threads::internal::return_value< void >::get ( )
inlinestatic

Definition at line 366 of file thread_management.h.

◆ set_from()

void Threads::internal::return_value< void >::set_from ( std::future< void > & )
inline

This function does nothing, because the std::future object does not actually hold a return value. However, 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 377 of file thread_management.h.

◆ set()

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

Definition at line 249 of file thread_management.h.

Member Data Documentation

◆ value

void Threads::internal::return_value< void >::value
private

Definition at line 225 of file thread_management.h.

◆ value_is_initialized

bool Threads::internal::return_value< void >::value_is_initialized
private

Definition at line 226 of file thread_management.h.


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