31 (
std::isprint(wrong_char) ?
std::string(
"\"") +
std::string(1, wrong_char) +
"\""
32 :
std::to_string((int)wrong_char)) +
33 " to an alphabet of type " + type_name +
34 " would incur information loss. If you want implicit conversion, use "
35 "bio::alphabet::assign_char instead of bio::alphabet::assign_char_strict."}
Provides platform and dependency checks.
The alphabet module's namespace.
Definition: aa10li.hpp:23
An exception typically thrown by bio::alphabet::assign_char_strict.
Definition: exception.hpp:27
invalid_char_assignment(std::string const &type_name, std::convertible_to< char > auto const wrong_char)
This is an overloaded member function, provided for convenience. It differs from the above function o...
Definition: exception.hpp:39
invalid_char_assignment(std::string const &type_name, char const wrong_char)
Constructor that takes the type name and the failed character as arguments.
Definition: exception.hpp:29