xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
textual_literal.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 "
character.hpp
"
11
#include <type_traits>
12
#include <concepts>
13
15
namespace
xtd
{
16
// Since Doxygen does not work properly with the C++ concept, the documentation for this concept is declared in xtd/textual_literal_.hpp
17
template
<
typename
type_t>
18
concept
textual_literal
=
19
std::same_as<type_t, const xtd::char_*> ||
20
std::same_as<type_t, const xtd::wchar*> ||
21
std::same_as<type_t, const xtd::char8*> ||
22
std::same_as<type_t, const xtd::char16*> ||
23
std::same_as<type_t, const xtd::char32*> ||
24
(std::is_array_v<type_t> &&
xtd::character<std::remove_cv_t<std::remove_extent_t<type_t>
>>);
25
}
char16.hpp
Contains xtd::char16 type.
char32.hpp
Contains xtd::char32 type.
char8.hpp
Contains xtd::char8 type.
char.hpp
Contains xtd::char_ type.
character.hpp
Contains xtd::character concept.
xtd::character
Definition
character.hpp:17
xtd::textual_literal
Definition
textual_literal.hpp:18
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
wchar.hpp
Contains xtd::wchar type.
Generated on
for xtd by
Gammasoft
. All rights reserved.