phobos-next v0.3.5 (2020-07-23T15:01:39Z)
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.