Flutter Engine
 
Loading...
Searching...
No Matches
base::internal::CheckedMulFastOp< 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::CheckedMulFastOp< T, U >

Definition at line 88 of file safe_math_clang_gcc_impl.h.

Member Function Documentation

◆ __attribute__()

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

◆ Do()

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

Definition at line 65 of file safe_math_shared_impl.h.

65 {
66 // Force a compile failure if instantiated.
67 return CheckOnFailure::template HandleFailure<bool>();
68 }

Referenced by base::internal::CheckedMulOp< 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::CheckedMulFastOp< T, U >::is_supported = true
static

Definition at line 100 of file safe_math_clang_gcc_impl.h.

◆ result

◆ y

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

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