Reference documentation for deal.II version GIT d6cf33b98c 2023-09-22 19:50:02+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\}}\)
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Threads::internal::return_value< void > Struct Reference

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

Public Types

using reference_type = void
 

Public Member Functions

void set_from (std::future< void > &)
 

Static Public Member Functions

static void get ()
 

Detailed Description

Definition at line 357 of file thread_management.h.

Member Typedef Documentation

◆ reference_type

Definition at line 359 of file thread_management.h.

Member Function Documentation

◆ get()

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

Definition at line 362 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 373 of file thread_management.h.


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