[#beman-optional-operator_ge-09] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::operator>= :relfileprefix: ../../ :mrdocs: Greater‐than‐or‐equal operators == Synopses Declared in `<beman/optional/optional.hpp>` Orders two optionals with greater‐than‐or‐equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U> constexpr bool xref:beman/optional/operator_ge-0f.adoc[operator>=]( xref:beman/optional/optional-03.adoc[optional<T>] const& lhs, xref:beman/optional/optional-03.adoc[optional<U>] const& rhs) requires detail::optional_ge_rel<T, U>; ---- [.small]#xref:beman/optional/operator_ge-0f.adoc[_» more..._]# Orders an optional after or equal to a value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U> constexpr bool xref:beman/optional/operator_ge-00.adoc[operator>=]( xref:beman/optional/optional-03.adoc[optional<T>] const& lhs, U const& rhs) requires (!detail::is_optional<U>) && detail::optional_ge_rel<T, U>; ---- [.small]#xref:beman/optional/operator_ge-00.adoc[_» more..._]# Orders a value after or equal to an optional. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U> constexpr bool xref:beman/optional/operator_ge-0d.adoc[operator>=]( T const& lhs, xref:beman/optional/optional-03.adoc[optional<U>] const& rhs) requires (!detail::is_optional<T>) && detail::optional_ge_rel<T, U>; ---- [.small]#xref:beman/optional/operator_ge-0d.adoc[_» more..._]# == Return Value * `true` if `lhs` does not order before `rhs.` * `true` if `lhs` is engaged and its contained value does not order before `rhs.` * `true` if `rhs` is disengaged, or `lhs` does not order before its contained value. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left‐hand optional. | *rhs* | The right‐hand optional. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#