These docs are for v1.3.0. Click to read the latest docs for v1.6.

operator-=

public inline asset & operator-=(const asset & a)

Subtraction assignment operator

Parameters

  • a - Another asset to subtract this asset with

Returns

asset& - Reference to this asset

Post Condition

The amount of this asset is subtracted by the amount of asset a