BloombergLP::bdlbb::operator==

Return true if the specified lhs and rhs blobs have the same value.

Synopsis

Declared in <bdlbb_blob.h>

bool
operator==(
    Blob const& lhs,
    Blob const& rhs);

Description

Two blobs have the same value if they hold the same buffers, and have the same length.

Return Value

true if both blobs have the same value, and false otherwise

Parameters

NameDescription
lhsleft-hand-side blob to compare
rhsright-hand-side blob to compare