meta ~master (2022-03-01T10:21:24.9997359)
Dub
Repo
Second
evx
meta
list
get the second element of a list
template
Second (
T
...
) {
static if
(
is(typeof( ()))
)
enum
Second
;
alias
Second
=
T
[
1
]
;
}
Members
Aliases
Second
alias
Second
=
T
[
1
]
Undocumented in source.
Manifest constants
Second
enum
Second
;
Undocumented in source.
Examples
static
assert
(
Second
!(
'a'
,
'b'
,
'c'
) ==
'b'
);
Meta
Source
See Implementation
evx
meta
list
aliases
Cons
Deinterleave
DeinterleaveNLists
Enumerate
IndexOf
Interleave
Iota
NoDuplicates
Ordinal
Repeat
Reverse
Sum
enums
Contains
structs
Pack
templates
All
Any
Extract
Filter
First
InterleaveNLists
Map
MatchAll
Reduce
Scan
Second
Sort
SortBy
Swap
Unpack
Zip
get the second element of a list