Return the name of enumerator e exactly as it was declared.
Declared in <mrdocs/Support/Describe.hpp>
template<described E>
requires std::is_enum_v<E>
constexpr
std::string_view
enum_to_string(E e) noexcept;
No case transformation is applied; the kebab-case form is produced by mrdocs::toString instead.
The enumerator's declared name; the empty string for the undefined state (see MRDOCS_DESCRIBE_ENUM_UNDEFINED) or an unrecognized value.
| Name | Description |
|---|---|
| e | The enumerator to convert. |