Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
base::internal::CheckedAddFastOp< 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 Vresult
 

Static Public Attributes

static const bool is_supported = true
 

Detailed Description

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

Definition at line 70 of file safe_math_clang_gcc_impl.h.

Member Function Documentation

◆ __attribute__()

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

◆ Do()

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

Definition at line 45 of file safe_math_shared_impl.h.

45 {
46 // Force a compile failure if instantiated.
47 return CheckOnFailure::template HandleFailure<bool>();
48 }

Member Data Documentation

◆ is_supported

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

Definition at line 71 of file safe_math_clang_gcc_impl.h.

◆ result

template<typename T , typename U >
U V* base::internal::CheckedAddFastOp< T, U >::result
Initial value:

Definition at line 73 of file safe_math_clang_gcc_impl.h.

◆ y

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

Definition at line 73 of file safe_math_clang_gcc_impl.h.


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