76template <alphabet::alphabet alphabet_type>
78 []<
typename char_t>(char_t && in) -> char_t
80 static_assert(std::common_reference_with<char_t, alphabet::char_t<alphabet_type>>,
81 "The innermost value type must have a common reference to underlying char type of alphabet_type.");
83 if (!alphabet::char_is_valid_for<alphabet_type>(in))
87 return std::forward<char_t>(in);
Core alphabet concept and free function/type trait wrappers.
Provides various type traits on generic types.
A wrapper type around an existing view adaptor that enables "deep view" behaviour for that view.
Definition: deep.hpp:104
Provides bio::views::deep.
auto const validate_char_for
An identity view that throws if an encountered character is not valid for the given alphabet.
Definition: validate_char_for.hpp:77
The BioC++ namespace for views.
An exception typically thrown by bio::alphabet::assign_char_strict.
Definition: exception.hpp:27