money.opEquals

Can check equality with money amounts of the same concurrency and decimal places.

struct money(string currency, int dec_places = 4, roundingMode rmode = roundingMode.HALF_UP)
const
bool
opEquals
(
OT
)
(
auto ref const OT other
)
if (
isMoney!OT &&
other.__currency == currency
&&
other.__dec_places == dec_places
)

Meta