34 inline std::ostream& operator<<(std::ostream& os,
message_dialog_buttons value) {
return os <<
to_string(value, {{
message_dialog_buttons::ok,
"ok"}, {
message_dialog_buttons::ok_cancel,
"ok_cancel"}, {
message_dialog_buttons::abort_retry_ignore,
"abort_retry_ignore"}, {
message_dialog_buttons::yes_no_cancel,
"yes_no_cancel"}, {
message_dialog_buttons::yes_no,
"yes_no"}, {
message_dialog_buttons::retry_cancel,
"retry_cancel"}});}
35 inline std::wostream& operator<<(std::wostream& os,
message_dialog_buttons value) {
return os <<
to_string(value, {{
message_dialog_buttons::ok, L
"ok"}, {
message_dialog_buttons::ok_cancel, L
"ok_cancel"}, {
message_dialog_buttons::abort_retry_ignore, L
"abort_retry_ignore"}, {
message_dialog_buttons::yes_no_cancel, L
"yes_no_cancel"}, {
message_dialog_buttons::yes_no, L
"yes_no"}, {
message_dialog_buttons::retry_cancel, L
"retry_cancel"}});}
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.