[#bsl-operator_ge-07a]
= xref:bsl.adoc[bsl]::operator&gt;&equals;
:relfileprefix: ../
:mrdocs:

Return `true` if `lhs` is greater than or equal to `rhs`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;variant&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;HEAD,
    class&period;&period;&period; t&lowbar;TAIL&gt;
bool
operator&gt;&equals;(
    xref:bsl/variant.adoc[variant&lt;t&lowbar;HEAD, t&lowbar;TAIL&period;&period;&period;&gt;] const& lhs,
    xref:bsl/variant.adoc[variant&lt;t&lowbar;HEAD, t&lowbar;TAIL&period;&period;&period;&gt;] const& rhs);
----

== Description

Return `true` if the index of the active alternative in the specified `lhs` is greater than that of the specified `rhs`, or if both have the same active alternative and the contained value of `lhs` compares greater than or equal to that of `rhs`, or if `rhs` is valueless by exception&semi; otherwise, return `false`&period; All alternatives shall support `operator&gt;&equals;`&period;

== Return Value

`true` if `lhs` is greater than or equal to `rhs`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *lhs*
| variant to compare
| *rhs*
| variant to compare
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
