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, typename std::enable_if< std::is_integral< Src >::value &&std::is_integral< Dst >::value &&SaturateFastAsmOp< Dst, Src >::is_supported >::type > 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 = true
 

Detailed Description

template<typename Dst, typename Src>
struct base::internal::SaturateFastOp< Dst, Src, typename std::enable_if< std::is_integral< Src >::value &&std::is_integral< Dst >::value &&SaturateFastAsmOp< Dst, Src >::is_supported >::type >

Definition at line 166 of file safe_conversions.h.

Member Function Documentation

◆ Do()

template<typename Dst , typename Src >
static constexpr Dst base::internal::SaturateFastOp< Dst, Src, typename std::enable_if< std::is_integral< Src >::value &&std::is_integral< Dst >::value &&SaturateFastAsmOp< Dst, Src >::is_supported >::type >::Do ( Src  value)
inlinestaticconstexpr

Definition at line 173 of file safe_conversions.h.

173 {
175 }
static constexpr Dst Do(Src)

Member Data Documentation

◆ is_supported

template<typename Dst , typename Src >
constexpr bool base::internal::SaturateFastOp< Dst, Src, typename std::enable_if< std::is_integral< Src >::value &&std::is_integral< Dst >::value &&SaturateFastAsmOp< Dst, Src >::is_supported >::type >::is_supported = true
staticconstexpr

Definition at line 172 of file safe_conversions.h.


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