Reference documentation for deal.II version GIT relicensing-1062-gc06da148b8 2024-07-15 19:20: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\}}\)
Loading...
Searching...
No Matches
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 360 of file thread_management.h.

Member Typedef Documentation

◆ reference_type

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

Definition at line 362 of file thread_management.h.

Member Function Documentation

◆ get()

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

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


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