v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::internal::SaturateFastOp< Dst, Src > Struct Template Reference

#include <safe_conversions.h>

Collaboration diagram for v8::base::internal::SaturateFastOp< Dst, Src >:

Static Public Member Functions

static constexpr Dst Do (Src value)
 
static constexpr Dst Do (Src value)
 

Static Public Attributes

static constexpr bool is_supported = true
 

Detailed Description

template<typename Dst, typename Src>
requires (std::integral<Src> && std::integral<Dst> && !SaturateFastAsmOp<Dst, Src>::is_supported)
struct v8::base::internal::SaturateFastOp< Dst, Src >

Definition at line 180 of file safe_conversions.h.

Member Function Documentation

◆ Do() [1/2]

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

Definition at line 172 of file safe_conversions.h.

Here is the call graph for this function:

◆ Do() [2/2]

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

Definition at line 182 of file safe_conversions.h.

Here is the call graph for this function:

Member Data Documentation

◆ is_supported

template<typename Dst , typename Src >
static constexpr bool v8::base::internal::SaturateFastOp< Dst, Src >::is_supported = true
staticconstexpr

Definition at line 171 of file safe_conversions.h.


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