Reference documentation for deal.II version GIT relicensing-14-gd371fb467a 2024-02-26 20:50: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 | 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 356 of file thread_management.h.

Member Typedef Documentation

◆ reference_type

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

Definition at line 358 of file thread_management.h.

Member Function Documentation

◆ get()

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

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


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