Return whether lhs is lexicographically greater than or equal to rhs.
Synopsis
Declared in <bslstl_stack.h>
template<
class VALUE,
class CONTAINER>
bool
operator>=(
stack<VALUE, CONTAINER> const& lhs,
stack<VALUE, CONTAINER> const& rhs);
Description
Return true if the value of the specified lhs stack is lexicographically greater than or equal to that of the specified rhs stack, and false otherwise. The value of stack lhs is lexicographically greater than or equal to that of stack 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
Parameters
Name |
Description |
lhs |
left‐hand stack operand |
rhs |
right‐hand stack operand |
Created with MrDocs