[#bsl-operator_gt-014] = xref:bsl.adoc[bsl]::operator> :relfileprefix: ../ :mrdocs: 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 that of `rhs`, or if `rhs` is valueless by exception and `lhs` is not; otherwise, return `false`. All alternatives shall support `operator>`. == Synopsis Declared in `<bslstl_variant.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class t_HEAD, class... t_TAIL> bool operator>( xref:bsl/variant.adoc[variant<t_HEAD, t_TAIL...>] const& lhs, xref:bsl/variant.adoc[variant<t_HEAD, t_TAIL...>] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#