The D Programming Language's Unofficial Docs
beta
Dlang.org
Get Help
Ternary.this
std
typecons
Ternary
Construct and assign from a
bool
, receiving
no
for
false
and
yes
for
true
.
this
(bool b)
struct
Ternary
@
safe
@
nogc
nothrow pure
this
(
bool
b
)
this
(Ternary b)
void
opAssign
(bool b)
Meta
Source
See Implementation
std
typecons
Ternary
constructors
this
functions
opAssign
opBinary
opUnary
manifest constants
no
unknown
yes
Suggestion Box / Bug Report
Construct and assign from a bool, receiving no for false and yes for true.