Return true if the specified lhs and rhs arrays have the same value, and false otherwise.
Synopsis
Declared in <bdlc_compactedarray.h>
template<class TYPE>
bool
operator==(
CompactedArray<TYPE> const& lhs,
CompactedArray<TYPE> const& rhs);
Description
Two CompactedArray arrays have the same value if they have the same length, and all corresponding elements (those at the same indices) have the same value.
Return Value
true if the arrays have the same value, and false otherwise
Parameters
Name |
Description |
lhs |
left‐hand‐side array |
rhs |
right‐hand‐side array |
Created with MrDocs