Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
base::internal::SaturateFastOp< Dst, Src, Enable > Struct Template Reference

#include <safe_conversions.h>

Static Public Member Functions

static constexpr Dst Do (Src value)
 

Static Public Attributes

static constexpr bool is_supported = false
 

Detailed Description

template<typename Dst, typename Src, typename Enable = void>
struct base::internal::SaturateFastOp< Dst, Src, Enable >

Definition at line 157 of file safe_conversions.h.

Member Function Documentation

◆ Do()

template<typename Dst , typename Src , typename Enable = void>
static constexpr Dst base::internal::SaturateFastOp< Dst, Src, Enable >::Do ( Src  value)
inlinestaticconstexpr

Definition at line 159 of file safe_conversions.h.

159 {
160 // Force a compile failure if instantiated.
161 return CheckOnFailure::template HandleFailure<Dst>();
162 }

Member Data Documentation

◆ is_supported

template<typename Dst , typename Src , typename Enable = void>
constexpr bool base::internal::SaturateFastOp< Dst, Src, Enable >::is_supported = false
staticconstexpr

Definition at line 158 of file safe_conversions.h.


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