carbon v1.5.4 (2015-09-23T08:11:56Z)
Home
Dub
Repo
ToTRange
carbon
templates
タプルをテンプレート版レンジにします。
template
ToTRange (
T
...
) {
static if
(
T.length == 0
)
enum
empty
;
static if
(!(
T.length == 0
))
enum
empty
;
alias
front
=
T
[
0
]
;
static if
(!(
T.length == 0
))
static if
(!(
is(typeof( ))
))
enum
front
;
alias
tail
()
=
ToTRange
!(
T
[
1
..$])
;
}
Members
Aliases
front
alias
front
=
T
[
0
]
Undocumented in source.
tail
alias
tail
()
=
ToTRange
!(
T
[
1
..$])
Undocumented in source.
Manifest constants
empty
enum
empty
;
Undocumented in source.
empty
enum
empty
;
Undocumented in source.
front
enum
front
;
Undocumented in source.
Meta
Source
See Implementation
carbon
templates
aliases
Identity
enums
isTemplateRange
functions
opIndexOpAssign
opOpAssign
mixins
__anonymous
mixin templates
defGlobalVariables
templates
ApplySameTopQualifier
Lstr
Qualifier
TRIota
TRMap
ToTRange
ToTuple
TypeNuple
isEqualTypes
isEqualValues
isEquals
タプルをテンプレート版レンジにします。