31 inline std::ostream& operator<<(std::ostream& os,
menu_item_kind value) {
return os <<
to_string(value, {{
menu_item_kind::normal,
"normal"}, {
menu_item_kind::check,
"check"}, {
menu_item_kind::radio,
"radio"}, {
menu_item_kind::drop_down,
"drop_down"}, {
menu_item_kind::separator,
"separator"}});}
32 inline std::wostream& operator<<(std::wostream& os,
menu_item_kind value) {
return os <<
to_string(value, {{
menu_item_kind::normal, L
"normal"}, {
menu_item_kind::check, L
"check"}, {
menu_item_kind::radio, L
"radio"}, {
menu_item_kind::drop_down, L
"drop_down"}, {
menu_item_kind::separator, L
"separator"}});}
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition to_string.h:37
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition system_report.h:17
Contains xtd::ustring class.