|
sumty
0.1.0
Better sum types for C++
|
Utility to get the number of alternatives in an error_set. More...
#include <sumty/error_set.hpp>


Related Functions | |
(Note that these are not member functions.) | |
| template<typename T > | |
| static constexpr size_t | error_set_size_v = error_set_size<T>::value |
| Utility to get the number of alternatives in an error_set. More... | |
Utility to get the number of alternatives in an error_set.
error_set_size provides the number alternatives in the error_set, T, in the static constexpr member value.
| T | The error_set type to get the size of |
|
related |
Utility to get the number of alternatives in an error_set.
| T | The error_set type to get the size of |