phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
isIndexableBy
nxt
typecons_ex
Check if
R
is indexable by
I
.
eponymoustemplate
isIndexableBy
(R, I)
enum
isIndexableBy (
R
I
)
eponymoustemplate
isIndexableBy
(R, alias I)
Examples
static
assert
(
isIndexableBy
!(
int
[
3
],
ubyte
));
Meta
Source
See Implementation
nxt
typecons_ex
enums
hasIndexing
isCastableTo
isIndex
isIndexableBy
functions
enumToString
indexedBy
nullable
nullableRef
strictlyIndexed
mixin templates
RvalueRef
structs
IndexedArray
IndexedBy
templates
New
TypesafelyIndexed
makeEnumFromSymbolNames
Check if R is indexable by I.