18#ifndef LIBSEMIGROUPS_DETAIL_PRINT_HPP_
19#define LIBSEMIGROUPS_DETAIL_PRINT_HPP_
28 [[nodiscard]]
bool isprint(std::string
const& alphabet);
30 [[nodiscard]] std::string to_printable(
char c);
32 [[nodiscard]] std::string to_printable(std::string
const& alphabet);
34 template <
typename Int>
35 [[nodiscard]] std::string
36 to_printable(std::basic_string<Int>
const& alphabet) {
37 return fmt::format(
"{}",
38 std::vector<int>(alphabet.
begin(), alphabet.
end()));
41 template <
typename Thing>
42 [[nodiscard]] std::string to_printable(Thing
const& thing) {
43 return fmt::format(
"{}", thing);
Namespace for everything in the libsemigroups library.
Definition action.hpp:44