Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
base::internal::ClampedXorOp< T, U, typename std::enable_if< std::is_integral< T >::value &&std::is_integral< U >::value >::type > Struct Template Reference

#include <clamped_math_impl.h>

Public Types

using result_type = typename std::make_unsigned< typename MaxExponentPromotion< T, U >::type >::type
 

Static Public Member Functions

template<typename V >
static constexpr V Do (T x, U y)
 

Detailed Description

template<typename T, typename U>
struct base::internal::ClampedXorOp< T, U, typename std::enable_if< std::is_integral< T >::value &&std::is_integral< U >::value >::type >

Definition at line 269 of file clamped_math_impl.h.

Member Typedef Documentation

◆ result_type

template<typename T , typename U >
using base::internal::ClampedXorOp< T, U, typename std::enable_if< std::is_integral< T >::value &&std::is_integral< U >::value >::type >::result_type = typename std::make_unsigned< typename MaxExponentPromotion<T, U>::type>::type

Definition at line 273 of file clamped_math_impl.h.

Member Function Documentation

◆ Do()

template<typename T , typename U >
template<typename V >
static constexpr V base::internal::ClampedXorOp< T, U, typename std::enable_if< std::is_integral< T >::value &&std::is_integral< U >::value >::type >::Do ( T  x,
y 
)
inlinestaticconstexpr

Definition at line 276 of file clamped_math_impl.h.

276 {
277 return static_cast<result_type>(x) ^ static_cast<result_type>(y);
278 }
double y
double x

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