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

#include <safe_conversions.h>

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

Static Public Member Functions

static constexpr bool Do (Src value)
 
static constexpr bool Do (Src value)
 

Static Public Attributes

static constexpr bool is_supported = true
 

Detailed Description

template<typename Dst, typename Src>
requires (std::unsigned_integral<Dst> && std::signed_integral<Src> && !kIsTypeInRangeForNumericType<Dst, Src>)
struct v8::base::internal::IsValueInRangeFastOp< Dst, Src >

Definition at line 71 of file safe_conversions.h.

Member Function Documentation

◆ Do() [1/2]

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

Definition at line 60 of file safe_conversions.h.

◆ Do() [2/2]

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

Definition at line 74 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::IsValueInRangeFastOp< Dst, Src >::is_supported = true
staticconstexpr

Definition at line 58 of file safe_conversions.h.


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