[#BloombergLP-bdlc-BitArray-minusEqual-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::minusEqual
:relfileprefix: ../../../
:mrdocs:

Bitwise MINUS (subtract) from the specified `numBits` in this array, beginning at the specified `dstIndex`, values from the specified `srcArray` beginning at the specified `srcIndex` (retaining the results)&period; The behavior is undefined unless `dstIndex &plus; numBits &lt;&equals; length()` and `srcIndex &plus; numBits &lt;&equals; srcArray&period;length()`&period; Note that the logical difference `A &hyphen; B` is defined to be `A &amp; !B`&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;bitarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
minusEqual(
    std::size&lowbar;t dstIndex,
    xref:BloombergLP/bdlc/BitArray.adoc[BitArray] const& srcArray,
    std::size&lowbar;t srcIndex,
    std::size&lowbar;t numBits);
----


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