xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
string_comparison.h
Go to the documentation of this file.
1
4#pragma once
5
6#include <ostream>
7
9namespace xtd {
17 enum class string_comparison {
19 ordinal,
22 };
23}
24
26inline 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}
string_comparison
Specifies the culture, case, and sort rules to be used by certain overloads of the xtd::ustring::comp...
Definition: string_comparison.h:17
@ ordinal
Compare strings using ordinal (binary) sort rules.
@ ordinal_ignore_case
Compare strings using ordinal (binary) sort rules and ignoring the case of the strings being compared...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17