mp-coro main
Coroutine support tools
Classes | Namespaces | Functions
storage.h File Reference
#include <exception>
#include <type_traits>
#include <variant>
+ Include dependency graph for storage.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  storage_base< T >
 Storage class that can either contain a value, an exception, or be empty. More...
 
class  storage_base< T & >
 Storage class that can either contain a reference to a value, an exception, or be empty. More...
 
class  storage_base< void >
 Storage class that can either an exception, or be empty. More...
 
class  storage< T >
 Storage class that can either contain a value, an exception, or be empty. More...
 

Namespaces

namespace  mp_coro
 
namespace  mp_coro::detail
 

Functions

template<typename... Args>
void check_and_rethrow (const std::variant< Args... > &result)
 If rethrow contains an exception, rethrow it. More...