Variant.opBinary

The following operator overloads are defined for the sake of convenience. It is important to understand that they do not allow you to use a Variant as both the left-hand and right-hand sides of an expression. One side of the operator must be a concrete type in order for the Variant to know what code to generate.

struct Variant
opBinary
(
immutable(char)[] op
T
)
(
T rhs
)

Meta