Loading [MathJax]/jax/output/HTML-CSS/config.js
Iros
▼
Iros
►
Iros Project Documentation
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
docs
►
iris
▼
libs
►
ccpp
▼
di
▼
include
▼
di
►
any
►
assert
►
bit
►
chrono
►
cli
▼
container
►
action
►
algorithm
►
allocator
►
associative
►
concepts
►
hash
►
interface
►
intrusive
►
iterator
►
linked
►
meta
►
path
►
queue
►
ring
▼
string
►
constant_string.h
►
constant_string_interface.h
►
encoding.h
►
erased_string.h
►
fixed_string.h
►
fixed_string_to_utf8_string_view.h
►
mutable_string.h
►
mutable_string_interface.h
prelude.h
►
string.h
►
string_append.h
►
string_back.h
►
string_begin.h
►
string_clear.h
►
string_compare.h
►
string_contains.h
►
string_data.h
►
string_empty.h
►
string_end.h
►
string_ends_with.h
►
string_equal.h
►
string_find.h
►
string_find_first_not_of.h
►
string_find_first_of.h
►
string_find_last_not_of.h
►
string_find_last_of.h
►
string_front.h
►
string_impl.h
string_impl_forward_declaration.h
►
string_iterator_at_offset.h
►
string_push_back.h
►
string_rfind.h
►
string_size.h
►
string_size_code_units.h
►
string_starts_with.h
►
string_substr.h
►
string_to_vector_iterator.h
►
string_unicode_code_points.h
►
string_view.h
►
string_view_impl.h
string_view_impl_forward_declaration.h
►
transparent_encoding.h
►
utf8_encoding.h
►
zstring.h
►
tree
►
types
►
vector
►
view
prelude.h
►
exec
►
execution
►
format
►
function
►
io
►
math
►
meta
►
parser
►
platform
►
random
►
reflect
►
serialization
►
sync
►
types
►
util
►
vocab
►
dius
►
diusaudio
►
diusgfx
►
ttx
►
userland
►
File Members
GitHub
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
constant_string.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/container/string/encoding.h
"
4
#include "
di/meta/operations.h
"
5
6
namespace
di::concepts::detail
{
7
template
<
typename
T>
8
concept
ConstantString
=
HasEncoding<T>
&&
requires
(T
const
& string) {
9
{
string
.encoding() } ->
ConvertibleTo<meta::Encoding<T>
>;
10
{
string
.span() } ->
ConvertibleTo<vocab::Span<meta::EncodingCodeUnit<meta::Encoding<T>
>
const
>>;
11
};
8
concept
ConstantString
=
HasEncoding<T>
&&
requires
(T
const
& string) {
…
}
12
}
di::concepts::ConvertibleTo
Definition
operations.h:99
di::concepts::HasEncoding
Definition
encoding.h:225
di::concepts::detail::ConstantString
Definition
constant_string.h:8
encoding.h
operations.h
di::concepts::detail
Definition
impl.h:7
libs
di
include
di
container
string
constant_string.h
Generated by
1.13.0