libd ~master (2021-08-29T21:20:58Z)
Dub
Repo
ElementType
libd
meta
traits
Undocumented in source.
template
ElementType (
alias
T
) {
import
libd
.
algorithm
.
common
:
isInputRange
;
;
alias
ElementType
=
E
;
alias
ElementType
=
typeof
(
T
.
init
.
front
())
;
}
Members
Aliases
ElementType
alias
ElementType
=
E
Undocumented in source.
ElementType
alias
ElementType
=
typeof
(
T
.
init
.
front
())
Undocumented in source.
Examples
static
assert
(
is
(
ElementType
!(
int
[]) ==
int
));
Meta
Source
See Implementation
libd
meta
traits
aliases
AliasSeq
enums
isCopyable
isInstanceOf
isPointer
isSlice
isSomeFunction
structs
TypeId
templates
BitmaskUda
ElementType
FunctionTypeOf
Parameters
TypeIdOf
UdaOrDefault
Unqual
UnsignedOf
allSatisfy
anySatisfy
isPartOfUnion