xtd 0.2.0
Loading...
Searching...
No Matches
textual.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "string.hpp"
6#include "raw_type.hpp"
7#include "textual_literal.hpp"
8#include "u16string.hpp"
9#include "u32string.hpp"
10#include "u8string.hpp"
11#include "wstring.hpp"
12#include <concepts>
13
15namespace xtd {
16 // Since Doxygen does not work properly with the C++ concept, the documentation for this concept is declared in xtd/textual_.hpp
17 template<typename type_t>
18 concept textual =
19 std::same_as<xtd::raw_type<type_t>, std::string> ||
20 std::same_as<xtd::raw_type<type_t>, std::u16string> ||
21 std::same_as<xtd::raw_type<type_t>, std::u32string> ||
22 std::same_as<xtd::raw_type<type_t>, std::u8string> ||
23 std::same_as<xtd::raw_type<type_t>, std::wstring> ||
24 std::same_as<xtd::raw_type<type_t>, xtd::string> ||
25 std::same_as<xtd::raw_type<type_t>, xtd::u16string> ||
26 std::same_as<xtd::raw_type<type_t>, xtd::u32string> ||
27 std::same_as<xtd::raw_type<type_t>, xtd::u8string> ||
28 std::same_as<xtd::raw_type<type_t>, xtd::wstring> ||
30}
Definition textual_literal.hpp:17
Definition textual.hpp:18
xtd::basic_string< xtd::char8 > u8string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:76
xtd::basic_string< xtd::char32 > u32string
Represents text as a sequence of UTF-32 code units.
Definition __string_definitions.hpp:65
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
xtd::basic_string< xtd::char16 > u16string
Represents text as a sequence of UTF-16 code units.
Definition __string_definitions.hpp:54
xtd::basic_string< xtd::wchar > wstring
Represents text as a sequence of UTF-16 code unit on Windows or UTF-32 code unit on non-Windows syste...
Definition __string_definitions.hpp:87
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::raw_type alias.
Contains xtd::string alias.
Contains xtd::textual_literal concept.
Contains xtd::u16string alias.
Contains xtd::u32string alias.
Contains xtd::u8string alias.
Contains xtd::wstring alias.