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 {
31 template<class type_t>
32 concept textual =
33 std::same_as<xtd::raw_type<type_t>, std::string> ||
34 std::same_as<xtd::raw_type<type_t>, std::u16string> ||
35 std::same_as<xtd::raw_type<type_t>, std::u32string> ||
36 std::same_as<xtd::raw_type<type_t>, std::u8string> ||
37 std::same_as<xtd::raw_type<type_t>, std::wstring> ||
38 std::same_as<xtd::raw_type<type_t>, xtd::string> ||
39 std::same_as<xtd::raw_type<type_t>, xtd::u16string> ||
40 std::same_as<xtd::raw_type<type_t>, xtd::u32string> ||
41 std::same_as<xtd::raw_type<type_t>, xtd::u8string> ||
42 std::same_as<xtd::raw_type<type_t>, xtd::wstring> ||
44}
Represent a text literal concept.
Definition textual_literal.hpp:31
Represent a text concept.
Definition textual.hpp:32
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.