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.
string_split_options.h
Go to the documentation of this file.
1 #pragma once
5 
6 #include <ostream>
7 
9 namespace xtd {
17  enum class string_split_options {
19  none,
22  };
23 
24  inline std::ostream& operator<<(std::ostream& os, xtd::string_split_options options) {
25  switch (options) {
26  case xtd::string_split_options::none: os << "none"; break;
27  case xtd::string_split_options::remove_empty_entries: os << "remove_empty_entries"; break;
28  }
29  return os;
30  }
31 }
string_split_options
Specifies whether applicable xtd::ustring::split method overloads include or omit empty substrings fr...
Definition: string_split_options.h:17
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
The return value includes array elements that contain an empty string.
The return value does not include array elements that contain an empty string.