26 template <
typename value_t>
28 requires arithmetic<value_t>
30 struct total : detail::strong_type<value_t, total<value_t>, detail::strong_type_skill::convert>
32 using detail::strong_type<value_t, total<value_t>, detail::strong_type_skill::convert>::strong_type;
43 template <std::
integral value_t>
48 template <
typename value_t>
60 template <
typename value_t>
64 struct substitution : detail::strong_type<value_t, substitution<value_t>, detail::strong_type_skill::convert>
66 using detail::strong_type<value_t, substitution<value_t>, detail::strong_type_skill::convert>::strong_type;
77 template <std::
integral value_t>
82 template <
typename value_t>
93 template <
typename value_t>
97 struct insertion : detail::strong_type<value_t, insertion<value_t>, detail::strong_type_skill::convert>
99 using detail::strong_type<value_t, insertion<value_t>, detail::strong_type_skill::convert>::strong_type;
110 template <std::
integral value_t>
115 template <
typename value_t>
126 template <
typename value_t>
130 struct deletion : detail::strong_type<value_t, deletion<value_t>, detail::strong_type_skill::convert>
132 using detail::strong_type<value_t, deletion<value_t>, detail::strong_type_skill::convert>::strong_type;
143 template <std::
integral value_t>
148 template <
typename value_t>
Provides basic data structure for strong types.
Provides concepts for core language types and relations that don't have concepts in C++20 (yet)...
A special sub namespace for the search configurations.
A strong type of underlying type uint8_t or double that represents the number or rate of deletions...
Definition: max_error_common.hpp:130
insertion(value_t) -> insertion< uint8_t >
Deduces to uint8_t for all types modelling std::integral.
A type that satisfies std::is_arithmetic_v<t>.
A strong type of underlying type uint8_t or double that represents the number or rate of total errors...
Definition: max_error_common.hpp:30
A strong type of underlying type uint8_t or double that represents the number or rate of substitution...
Definition: max_error_common.hpp:64
An arithmetic type that also satisfies std::is_floating_point_v<t>.
total(value_t) -> total< uint8_t >
Deduces to uint8_t for all types modelling std::integral.
A strong type of underlying type uint8_t or double that represents the number or rate of insertions...
Definition: max_error_common.hpp:97