45 inline std::ostream& operator<<(std::ostream& os,
mouse_buttons value) {
return os <<
to_string(value, {{
mouse_buttons::none,
"none"}, {
mouse_buttons::left,
"left"}, {
mouse_buttons::right,
"right"}, {
mouse_buttons::middle,
"middle"}, {
mouse_buttons::x_button1,
"x_button1"}, {
mouse_buttons::x_button2,
"x_button2"}});}
46 inline std::wostream& operator<<(std::wostream& os,
mouse_buttons value) {
return os <<
to_string(value, {{
mouse_buttons::none, L
"none"}, {
mouse_buttons::left, L
"left"}, {
mouse_buttons::right, L
"right"}, {
mouse_buttons::middle, L
"middle"}, {
mouse_buttons::x_button1, L
"x_button1"}, {
mouse_buttons::x_button2, L
"x_button2"}});}
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.