47 inline std::ostream& operator<<(std::ostream& os,
color_box_styles value) {
return os <<
to_string(value, {{
color_box_styles::none,
"none"}, {
color_box_styles::alpha_color,
"alpha_color"}, {
color_box_styles::allow_full_open,
"allow_full_open"}, {
color_box_styles::any_color,
"any_color"}, {
color_box_styles::full_open,
"full_open"}, {
color_box_styles::show_help,
"show_help"}, {
color_box_styles::solid_color_only,
"solid_color_only"}});}
48 inline std::wostream& operator<<(std::wostream& os,
color_box_styles value) {
return os <<
to_string(value, {{
color_box_styles::none, L
"none"}, {
color_box_styles::alpha_color, L
"alpha_color"}, {
color_box_styles::allow_full_open, L
"allow_full_open"}, {
color_box_styles::any_color, L
"any_color"}, {
color_box_styles::full_open, L
"full_open"}, {
color_box_styles::show_help, L
"show_help"}, {
color_box_styles::solid_color_only, L
"solid_color_only"}});}
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.