[#absl-operator_gt-024] = xref:absl.adoc[absl]::operator> :relfileprefix: ../ :mrdocs: Greater‐than operators == Synopses Declared in `<absl/base/log_severity.h>` Compares an `absl::LogSeverityAtLeast` threshold against an `absl::LogSeverity` value (in either operand order). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:absl/operator_gt-09c.adoc[operator>]( xref:absl/LogSeverityAtLeast.adoc[absl::LogSeverityAtLeast] lhs, xref:absl/LogSeverity.adoc[absl::LogSeverity] rhs); ---- [.small]#xref:absl/operator_gt-09c.adoc[_» more..._]# Compares an `absl::LogSeverityAtMost` threshold against an `absl::LogSeverity` value (in either operand order). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:absl/operator_gt-0a.adoc[operator>]( xref:absl/LogSeverity.adoc[absl::LogSeverity] lhs, xref:absl/LogSeverityAtMost.adoc[absl::LogSeverityAtMost] rhs); ---- [.small]#xref:absl/operator_gt-0a.adoc[_» more..._]# Compares two spans lexicographically. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> constexpr bool xref:absl/operator_gt-08f.adoc[operator>]( xref:absl/Span.adoc[Span<T>] a, xref:absl/Span.adoc[Span<T>] b); ---- [.small]#xref:absl/operator_gt-08f.adoc[_» more..._]# Compares two spans lexicographically. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> constexpr bool xref:absl/operator_gt-085.adoc[operator>]( xref:absl/Span.adoc[Span<T const>] a, xref:absl/Span.adoc[Span<T>] b); ---- [.small]#xref:absl/operator_gt-085.adoc[_» more..._]# Compares two spans lexicographically. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename T> constexpr bool xref:absl/operator_gt-091.adoc[operator>]( xref:absl/Span.adoc[Span<T>] a, xref:absl/Span.adoc[Span<T const>] b); ---- [.small]#xref:absl/operator_gt-091.adoc[_» more..._]# Compares a container and a span lexicographically. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U, typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>> constexpr bool xref:absl/operator_gt-084.adoc[operator>]( U const& a, xref:absl/Span.adoc[Span<T>] b); ---- [.small]#xref:absl/operator_gt-084.adoc[_» more..._]# Compares a span and a container lexicographically. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, typename U, typename = span_internal::EnableIfConvertibleTo<U, absl::Span<T const>>> constexpr bool xref:absl/operator_gt-0c7.adoc[operator>]( xref:absl/Span.adoc[Span<T>] a, U const& b); ---- [.small]#xref:absl/operator_gt-0c7.adoc[_» more..._]# Returns whether one duration is greater than another. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:absl/operator_gt-06d.adoc[operator>]( xref:absl/Duration.adoc[Duration] lhs, xref:absl/Duration.adoc[Duration] rhs); ---- [.small]#xref:absl/operator_gt-06d.adoc[_» more..._]# Returns whether one time is later than another. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:absl/operator_gt-0e.adoc[operator>]( xref:absl/Time.adoc[Time] lhs, xref:absl/Time.adoc[Time] rhs); ---- [.small]#xref:absl/operator_gt-0e.adoc[_» more..._]# Determines whether `lhs` is greater than `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:absl/operator_gt-0b.adoc[operator>]( xref:absl/uint128.adoc[uint128] lhs, xref:absl/uint128.adoc[uint128] rhs); ---- [.small]#xref:absl/operator_gt-0b.adoc[_» more..._]# Tests whether the value of an inlined vector is greater than the value of another inlined vector using a lexicographical comparison algorithm. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename T, size_t N, typename A> bool xref:absl/operator_gt-07.adoc[operator>]( xref:absl/InlinedVector.adoc[absl::InlinedVector<T, N, A>] const& a, xref:absl/InlinedVector.adoc[absl::InlinedVector<T, N, A>] const& b); ---- [.small]#xref:absl/operator_gt-07.adoc[_» more..._]# Returns whether `lhs` orders lexicographically after `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/operator_gt-0ce.adoc[operator>]( xref:absl/FixedArray.adoc[FixedArray] const& lhs, xref:absl/FixedArray.adoc[FixedArray] const& rhs); ---- [.small]#xref:absl/operator_gt-0ce.adoc[_» more..._]# Orders one Cord after another. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/operator_gt-02e.adoc[operator>]( xref:absl/Cord.adoc[Cord] const& x, xref:absl/Cord.adoc[Cord] const& y); ---- [.small]#xref:absl/operator_gt-02e.adoc[_» more..._]# Orders a Cord after string data. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/operator_gt-061.adoc[operator>]( xref:absl/Cord.adoc[Cord] const& x, std::string_view y); ---- [.small]#xref:absl/operator_gt-061.adoc[_» more..._]# Orders string data after a Cord. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/operator_gt-00.adoc[operator>]( std::string_view x, xref:absl/Cord.adoc[Cord] const& y); ---- [.small]#xref:absl/operator_gt-00.adoc[_» more..._]# Orders two iterators by position. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:absl/operator_gt-01.adoc[operator>]( Iter const& a, Iter const& b); ---- [.small]#xref:absl/operator_gt-01.adoc[_» more..._]# == Return Value * `true` if the comparison holds, `false` otherwise. * `true` if `a` is lexicographically greater than `b`. * `true` if `lhs` is greater than `rhs`. * `true` if `lhs` is later than `rhs`. * `true` if `lhs` is greater than `rhs`; `false` otherwise. * `true` if `a` is greater than `b`, `false` otherwise. * `true` if `lhs` is lexicographically greater than `rhs`. * `true` if `x` is lexicographically greater than `y`. * `true` if `a` follows `b`. == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | The left‐hand operand. | *rhs* | The right‐hand operand. | *a* | The left operand. | *b* | The right operand. | *x* | The left‐hand Cord. | *y* | The right‐hand Cord. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#