Cancel the specified numUnits from the reserve units guarded by this object.

Synopsis

Declared in <balb_reservationguard.h>

void
cancelReserved(bsls::Types::Uint64 numUnits);

Description

Subtract the numUnits from unitsReserved and invoke the cancelReserved method on the guarded object for numUnits. After this operation, the number of reserved units guarded by this object will be reduced by numUnits. The behavior is undefined unless numUnits <= unitsReserved().

Parameters

Name

Description

numUnits

number of previously reserved units to cancel

Created with MrDocs