quantities v0.4.2 (2015-03-31T17:00:18Z)
Home
Dub
Repo
Quantity.opBinary
quantities
base
Quantity
Overloaded operators. Only dimensionally correct operations will compile.
auto
opBinary
(Q other)
struct
Quantity
(N, Dimensions dims)
const
auto
opBinary
(
string
op
Q
)
(
Q
other
)
if
(
isQuantity
!
Q
&&
(
op
== "+" ||
op
== "-"
)
)
auto
opBinary
(T other)
auto
opBinary
(Q other)
auto
opBinary
(T other)
auto
opBinary
(T power)
Meta
Source
See Implementation
quantities
base
Quantity
aliases
valueType
constructors
this
functions
get
isConsistentWith
opAssign
opBinary
opBinaryRight
opCast
opCmp
opEquals
opOpAssign
opUnary
rawValue
toString
value
manifest constants
dimensions
static functions
baseUnit
make
Overloaded operators. Only dimensionally correct operations will compile.