Flutter Engine
 
Loading...
Searching...
No Matches
base::internal::IsGreater< L, R > Struct Template Reference

#include <safe_conversions_impl.h>

Static Public Member Functions

static constexpr bool Test (const L lhs, const R rhs)
 

Detailed Description

template<typename L, typename R>
struct base::internal::IsGreater< L, R >

Definition at line 741 of file safe_conversions_impl.h.

Member Function Documentation

◆ Test()

template<typename L , typename R >
static constexpr bool base::internal::IsGreater< L, R >::Test ( const L  lhs,
const R  rhs 
)
inlinestaticconstexpr

Definition at line 744 of file safe_conversions_impl.h.

744 {
745 return IsGreaterImpl(lhs, rhs, DstRangeRelationToSrcRange<R>(lhs),
746 DstRangeRelationToSrcRange<L>(rhs));
747 }
constexpr bool IsGreaterImpl(const L lhs, const R rhs, const RangeCheck l_range, const RangeCheck r_range)

References base::internal::IsGreaterImpl().

Referenced by base::internal::ClampedMaxOp< T, U, typename std::enable_if< std::is_arithmetic< T >::value &&std::is_arithmetic< U >::value >::type >::Do(), and base::internal::CheckedMaxOp< T, U, typename std::enable_if< std::is_arithmetic< T >::value &&std::is_arithmetic< U >::value >::type >::Do().


The documentation for this struct was generated from the following file: