40 inline std::ostream& operator<<(std::ostream& os,
message_dialog_icon value) {
return os <<
to_string(value, {{
message_dialog_icon::none,
"none"}, {
message_dialog_icon::hand,
"hand"}, {
message_dialog_icon::stop,
"stop"}, {
message_dialog_icon::error,
"error"}, {
message_dialog_icon::question,
"question"}, {
message_dialog_icon::exclamation,
"exclamation"}, {
message_dialog_icon::warning,
"warning"}, {
message_dialog_icon::asterisk,
"asterisk"}, {
message_dialog_icon::information,
"information"}});}
41 inline std::wostream& operator<<(std::wostream& os,
message_dialog_icon value) {
return os <<
to_string(value, {{
message_dialog_icon::none, L
"none"}, {
message_dialog_icon::hand, L
"hand"}, {
message_dialog_icon::stop, L
"stop"}, {
message_dialog_icon::error, L
"error"}, {
message_dialog_icon::question, L
"question"}, {
message_dialog_icon::exclamation, L
"exclamation"}, {
message_dialog_icon::warning, L
"warning"}, {
message_dialog_icon::asterisk, L
"asterisk"}, {
message_dialog_icon::information, L
"information"}});}
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.