|
sumty
0.1.0
Better sum types for C++
|
Utility to create an error_set type. More...
#include <sumty/error_set.hpp>


Related Functions | |
(Note that these are not member functions.) | |
| template<typename... T> | |
| using | make_error_set_t = typename make_error_set< T... >::type |
| Utility to create an error_set type. More... | |
Utility to create an error_set type.
make_error_set is a builder for the error_set type that deduplicates alternatives. error_set requires that each alternative be a unique type, so make_error_set simplifies generically building an error_set by ensuring that condition is met automatically.
| T | The alternative types of the resulting error_set |
|
related |
Utility to create an error_set type.
make_error_set is a builder for the error_set type that deduplicates alternatives. error_set requires that each alternative be a unique type, so make_error_set simplifies generically building an error_set by ensuring that condition is met automatically.
| T | The alternative types of the resulting error_set |