Flutter Engine
 
Loading...
Searching...
No Matches
base::internal::CheckedSubFastOp< T, U > Struct Template Reference

#include <safe_math_clang_gcc_impl.h>

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

y
 
U V * result
 

Static Public Attributes

static const bool is_supported = true
 

Detailed Description

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

Definition at line 79 of file safe_math_clang_gcc_impl.h.

Member Function Documentation

◆ __attribute__()

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

◆ Do()

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

Definition at line 55 of file safe_math_shared_impl.h.

55 {
56 // Force a compile failure if instantiated.
57 return CheckOnFailure::template HandleFailure<bool>();
58 }

Referenced by base::internal::CheckedSubOp< T, U, typename std::enable_if< std::is_integral< T >::value &&std::is_integral< U >::value >::type >::Do().

Member Data Documentation

◆ is_supported

template<typename T , typename U >
static const bool base::internal::CheckedSubFastOp< T, U >::is_supported = true
static

Definition at line 80 of file safe_math_clang_gcc_impl.h.

◆ result

template<typename T , typename U >
U V* base::internal::CheckedSubFastOp< T, U >::result

◆ y

template<typename T , typename U >
U base::internal::CheckedSubFastOp< T, U >::y

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