The OpenD Programming Language

Unique.opCast

"Truthiness" cast

struct Unique(UniqueType, Allocator = typeof(theAllocator()), Flag!"supportGC" supportGC = gcExists ? Flag!"supportGC".yes : Flag!"supportGC".no)
const
bool
opCast
(
T
)
()
if (
is(T == bool)
)
if (
isAllocator!Allocator
)

Meta