[#BloombergLP-balb-ReservationGuard-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/ReservationGuard.adoc[ReservationGuard]::ReservationGuard
:relfileprefix: ../../../
:mrdocs:

Create a `ReservationGuard` object guarding the specified `rateController` and reserving the specified `numUnits`&period;

== Synopsis

Declared in `&lt;balb&lowbar;reservationguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
ReservationGuard(
    TYPE* rateController,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64] numUnits);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
