Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
base::internal::ClampedSubFastOp< T, U > Struct Template Reference

#include <safe_math_clang_gcc_impl.h>

Public Member Functions

template<typename V >
 __attribute__ ((always_inline)) static V Do(T x
 

Static Public Member Functions

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

Public Attributes

y
 

Static Public Attributes

static const bool is_supported = ClampedSubFastAsmOp<T, U>::is_supported
 

Detailed Description

template<typename T, typename U>
struct base::internal::ClampedSubFastOp< T, U >

Definition at line 120 of file safe_math_clang_gcc_impl.h.

Member Function Documentation

◆ __attribute__()

template<typename T , typename U >
template<typename V >
base::internal::ClampedSubFastOp< T, U >::__attribute__ ( (always_inline)  )

◆ Do()

template<typename T , typename U >
template<typename V >
static constexpr V base::internal::ClampedSubFastOp< T, U >::Do ( T  ,
 
)
inlinestaticconstexpr

Definition at line 85 of file safe_math_shared_impl.h.

85 {
86 // Force a compile failure if instantiated.
87 return CheckOnFailure::template HandleFailure<V>();
88 }

Member Data Documentation

◆ is_supported

template<typename T , typename U >
static const bool base::internal::ClampedSubFastOp< T, U >::is_supported = ClampedSubFastAsmOp<T, U>::is_supported
static

Definition at line 121 of file safe_math_clang_gcc_impl.h.

◆ y

template<typename T , typename U >
U base::internal::ClampedSubFastOp< T, U >::y
Initial value:
{
return ClampedSubFastAsmOp<T, U>::template Do<V>(x, y)
double x

Definition at line 123 of file safe_math_clang_gcc_impl.h.


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