sumty
0.1.0
Better sum types for C++
|
▼Nsumty | |
Cvariant | General discriminated union |
Coption | Type that either contains some value or none |
Cresult | Type that contains an ok value, or an error |
Cerror_set | A discriminated union of unique error types |
Cis_subset_of | Utility to test that one error_set is a subset of another |
Cis_equivalent | Utility to test that one error_set is equivalent to another |
Cerror_set_size | Utility to get the number of alternatives in an error_set |
Cvariant_size< error_set< T... > > | |
Cvariant_size< const error_set< T... > > | |
Cerror_set_alternative | Utility to get the type of a error_set alternative with some index |
Cvariant_alternative< I, error_set< T... > > | |
Cvariant_alternative< I, const error_set< T... > > | |
Cmerge_error_set | Utility to merge two error_set types |
Cmake_error_set | Utility to create an error_set type |
Cbad_variant_access | |
Cbad_option_access | |
Cbad_result_access | |
Cbad_result_access< void > | |
Cindex_t | |
Ctype_t | |
Cvoid_t | |
Cnone_t | |
Cnever | A type that can never be instantiated |
Coverload | |
Cvariant_size | Utility to get the number of alternatives in a variant |
Cvariant_alternative | Utility to get the type of a variant alternative with some index |