33 inline std::ostream& operator<<(std::ostream& os,
segment_style value) {
return os <<
to_string(value, {{
segment_style::standard,
"standard"}, {
segment_style::modern,
"modern"}, {
segment_style::mixed,
"mixed"}, {
segment_style::expanded,
"expanded"}, {
segment_style::design,
"design"}, {
segment_style::stick,
"stick"}});}
34 inline std::wostream& operator<<(std::wostream& os,
segment_style value) {
return os <<
to_string(value, {{
segment_style::standard, L
"standard"}, {
segment_style::modern, L
"modern"}, {
segment_style::mixed, L
"mixed"}, {
segment_style::expanded, L
"expanded"}, {
segment_style::design, L
"design"}, {
segment_style::stick, L
"stick"}});}
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.