phobos-next v0.5.1 (2022-12-21T17:07:30Z)
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.