Return true if lhs is lexicographically greater than or equal to rhs.
Synopsis
Declared in <bslstl_queue.h>
template<
class VALUE,
class CONTAINER>
bool
operator>=(
queue<VALUE, CONTAINER> const& lhs,
queue<VALUE, CONTAINER> const& rhs);
Description
Return true if the value of the specified lhs queue is lexicographically greater than or equal to that of the specified rhs queue, and false otherwise. The value of queue lhs is lexicographically greater than or equal to that of queue rhs if lhs is not lexicographically less than rhs (see operator<). This method requires that operator<, inducing a total order, be defined for value_type. Note that this operator returns !(lhs < rhs).
Return Value
true if lhs is lexicographically greater than or equal to rhs, otherwise false
Parameters
Name |
Description |
lhs |
left‐hand queue to compare |
rhs |
right‐hand queue to compare |
Created with MrDocs