44 inline std::ostream& operator<<(std::ostream& os,
anchor_styles value) {
return os <<
to_string(value, {{
anchor_styles::none,
"none"}, {
anchor_styles::top,
"top"}, {
anchor_styles::bottom,
"bottom"}, {
anchor_styles::left,
"left"}, {
anchor_styles::right,
"right"}});}
45 inline std::wostream& operator<<(std::wostream& os,
anchor_styles value) {
return os <<
to_string(value, {{
anchor_styles::none, L
"none"}, {
anchor_styles::top, L
"top"}, {
anchor_styles::bottom, L
"bottom"}, {
anchor_styles::left, L
"left"}, {
anchor_styles::right, L
"right"}});}
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.