ae ~master (2024-01-05T13:09:51Z)
Home
Dub
Repo
select
ae
utils
functor
composition
The ternary operation using functors.
auto
select
(Cond cond, T t, F f)
template
select
(Cond, T, F)
@
nogc
auto
select
(
Cond
cond
,
T
t
,
F
f
)
if
(
isFunctor
!
Cond
&&
isFunctor
!
T
&&
isFunctor
!
F
)
auto
select
(bool cond, T t, F f)
Members
Functions
select
auto
select
(Cond cond, T t, F f)
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
fun
auto
fun
(Cond cond, T t, F f, Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
ae
utils
functor
composition
enums
isFunctor
templates
select
seq
The ternary operation using functors.