lwdr ~master (2021-10-15T13:07:10Z)
Dub
Repo
Unique.opCast
lwdr
unique
Unique
Check if this unique instance has a payload
bool
hasPayload
[@property getter]
auto
opCast
()
struct
Unique
(T)
auto
opCast
(
CastTarget
)
(
)
if
(
is
(
CastTarget
==
bool
)
)
if
(
isSuitableForUnique
!
T
)
Meta
Source
See Implementation
lwdr
unique
Unique
constructors
this
destructors
~this
functions
borrow
move
opCast
postblits
this(this)
properties
hasPayload
variables
payload
Check if this unique instance has a payload