18 enum class algo :
unsigned int
46 throw std::invalid_argument(
"Invalid algo: " + std::to_string(
static_cast<unsigned int>(a)));
60 throw std::invalid_argument(
"Invalid algo: " + std::string{a});
constexpr std::array< std::string_view, static_cast< size_t >(algo::TOTAL)> ALGOS_LABELS_LOWERCASE
Array of string_view labels for the algo enum, in lowercase.
Definition algos.h:30
algo
Enumeration of maze generation algorithms.
Definition algos.h:19
algo to_algo_from_sv(std::string_view a)
Convert a string_view to an algo enum.
Definition algos.h:54
std::string_view to_sv_from_algo(algo a)
Convert the algo enum to a string_view.
Definition algos.h:42