6#if !defined(__XTD_ENUM_OBJECT_INTERNAL__)
7#error "Do not include this file: Internal use only. Include <xtd/enum_object> or <xtd/enum_object.hpp> instead."
15template <
class enum_t >
29 case 'X':
return __numeric_formatter(fmt.chars(),
static_cast < long long int > (value), culture);
33 case 'G':
return xtd::enum_object < >::get_name(value);
bool is_empty() const noexcept
Definition basic_string.hpp:3534
Provides information about a specific culture (called a locale for unmanaged code development)....
Definition culture_info.hpp:43
static void throws(xtd::helpers::exception_case exception_case, const source_location &location=source_location::current())
Throws an exption with specified exception case.
Contains xtd::globalization::culture_info class.
Contains xtd::enum_object struct.
@ format
The format is not valid.
Definition exception_case.hpp:51
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::string to_string() const noexcept override
Returns a xtd::string that represents the current object.
Definition enum_object.hpp:172