halcheck 1.0
Loading...
Searching...
No Matches
halcheck::lib::effect::state Class Reference

A state determines the behaviour of all effects. More...

#include <effect.hpp>

Public Member Functions

 state ()=default
 Constructs the default state object.
 
 state (lib::in_place_t)
 Copies the current set of effect handlers.
 
lib::finally_t handle () &
 Overrides the current set of effect handlers.
 
lib::finally_t handle () &&
 Overrides the current set of effect handlers.
 
template<typename F , typename... Args>
lib::invoke_result_t< F, Args... > handle (F func, Args &&...args)
 Invokes a function, handling any effects using this state.
 

Detailed Description

A state determines the behaviour of all effects.


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