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

operator+=

Addition Assignment operator

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

Parameters

  • a - Another asset to subtract this asset with

Returns

asset& - Reference to this asset

Post Condition

The amount of this asset is added with the amount of asset a