xtd 0.2.0
Loading...
Searching...
No Matches
character.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "char.hpp"
6#include "char8.hpp"
7#include "char16.hpp"
8#include "char32.hpp"
9#include "wchar.hpp"
10#include "raw_type.hpp"
11#include <concepts>
12
14namespace xtd {
30 template<class type_t>
31 concept character =
32 std::same_as<xtd::raw_type<type_t>, xtd::char_> ||
33 std::same_as<xtd::raw_type<type_t>, xtd::char8> ||
34 std::same_as<xtd::raw_type<type_t>, xtd::char16> ||
35 std::same_as<xtd::raw_type<type_t>, xtd::char32> ||
36 std::same_as<xtd::raw_type<type_t>, xtd::wchar>;
37}
Contains xtd::char16 type.
Contains xtd::char32 type.
Contains xtd::char8 type.
Contains xtd::char_ type.
Represent a character concept.
Definition character.hpp:31
char8_t char8
Represents a 8-bit unicode character.
Definition char8.hpp:26
wchar_t wchar
Represents a wide character.
Definition wchar.hpp:24
char char_
Represents a character.
Definition char.hpp:24
char16_t char16
Represents a 16-bit unicode character.
Definition char16.hpp:26
char32_t char32
Represents a 32-bit unicode character.
Definition char32.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::raw_type alias.
Contains xtd::wchar type.