The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
Complex.opUnary
mir
complex
Complex
Complex
opUnary
()
Complex
opUnary
()
struct
Complex
(T)
scope const
@
optmath
Complex
opUnary
(
string
op
: "-"
)
(
)
if
(
is
(
T
==
float
) ||
is
(
T
==
double
)
||
is
(
T
==
real
)
)
Meta
Source
See Implementation
mir
complex
Complex
functions
opAssign
opBinary
opBinaryRight
opCast
opEquals
opOpAssign
opUnary
toHash
variables
im
re