42 inline std::ostream& operator<<(std::ostream& os,
font_style value) {
return os <<
xtd::to_string(value, {{
font_style::regular,
"regular"}, {
font_style::bold,
"bold"}, {
font_style::italic,
"italic"}, {
font_style::underline,
"underline"}, {
font_style::strikeout,
"strikeout"}});}
43 inline std::wostream& operator<<(std::wostream& os,
font_style value) {
return os <<
xtd::to_string(value, {{
font_style::regular, L
"regular"}, {
font_style::bold, L
"bold"}, {
font_style::italic, L
"italic"}, {
font_style::underline, L
"underline"}, {
font_style::strikeout, L
"strikeout"}});}
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
font_style
Specifies style information applied to text. This enumeration has a flags attribute that allows a bit...
Definition: font_style.h:17
@ underline
Underline text.
@ strikeout
Text with a line through the middle.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17
Contains xtd::ustring class.