The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
XYZ.opBinary
std
experimental
color
xyz
XYZ
Binary operators.
typeof
(
this
)
opBinary
(typeof(this) rh)
struct
XYZ
(F = float)
@
safe
pure nothrow @
nogc
const
typeof
(this)
opBinary
(
string
op
)
(
typeof
(this)
rh
)
if
(
op
== "+" ||
op
== "-"
||
op
== "*"
)
if
(
isFloatingPoint
!
F
)
typeof
(
this
)
opBinary
(S rh)
Meta
Source
See Implementation
std
experimental
color
xyz
XYZ
aliases
ComponentType
constructors
this
functions
opBinary
opCast
opOpAssign
opUnary
properties
tristimulus
variables
X
Y
Z
Binary operators.