xtd - Reference Guide  0.2.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Go to the documentation of this file.
1 #pragma once
6 #include <ostream>
9 namespace xtd {
17  enum class string_comparison {
19  ordinal,
22  };
23 }
26 inline std::ostream& operator<<(std::ostream& os, xtd::string_comparison sc) {
27  switch (sc) {
28  case xtd::string_comparison::ordinal: os << "ordinal"; break;
29  case xtd::string_comparison::ordinal_ignore_case: os << "ordinal_ignore_case"; break;
30  }
31  return os;
32 }
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Compare strings using ordinal (binary) sort rules.
Specifies the culture, case, and sort rules to be used by certain overloads of the xtd::ustring::comp...
Definition: string_comparison.h:17
Compare strings using ordinal (binary) sort rules and ignoring the case of the strings being compared...