Return true if the specified lhs and rhs vectors have the same value, and false otherwise.

Synopsis

Declared in <bslstl_vector.h>

bool
operator==(
    vector const& lhs,
    vector const& rhs);
Note

This function is a hidden friend of vector<VALUE_TYPE*, ALLOCATOR>, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the vectors have the same value, and false otherwise

Parameters

Name

Description

lhs

left‐hand operand

rhs

right‐hand operand

Created with MrDocs