Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
base::internal::IsEqual< 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::IsEqual< L, R >

Definition at line 771 of file safe_conversions_impl.h.

Member Function Documentation

◆ Test()

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

Definition at line 774 of file safe_conversions_impl.h.

774 {
775 return DstRangeRelationToSrcRange<R>(lhs) ==
776 DstRangeRelationToSrcRange<L>(rhs) &&
777 static_cast<decltype(lhs + rhs)>(lhs) ==
778 static_cast<decltype(lhs + rhs)>(rhs);
779 }

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