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

#include <safe_conversions.h>

Collaboration diagram for v8::base::internal::StrictNumeric< T >:

Public Types

using type = T
 

Public Member Functions

constexpr StrictNumeric ()
 
template<typename Src >
constexpr StrictNumeric (const StrictNumeric< Src > &rhs)
 
template<typename Src >
constexpr StrictNumeric (Src value)
 
template<typename Dst >
requires (kIsNumericRangeContained<Dst, T>)
constexpr operator Dst () const
 
constexpr bool operator! () const
 

Private Attributes

T value_
 

Friends

template<typename U >
class StrictNumeric
 

Detailed Description

template<typename T>
requires std::is_arithmetic_v<T>
class v8::base::internal::StrictNumeric< T >

Definition at line 493 of file safe_conversions_impl.h.

Member Typedef Documentation

◆ type

template<typename T >
using v8::base::internal::StrictNumeric< T >::type = T

Definition at line 260 of file safe_conversions.h.

Constructor & Destructor Documentation

◆ StrictNumeric() [1/3]

template<typename T >
v8::base::internal::StrictNumeric< T >::StrictNumeric ( )
inlineconstexpr

Definition at line 262 of file safe_conversions.h.

◆ StrictNumeric() [2/3]

template<typename T >
template<typename Src >
v8::base::internal::StrictNumeric< T >::StrictNumeric ( const StrictNumeric< Src > & rhs)
inlineconstexpr

Definition at line 266 of file safe_conversions.h.

◆ StrictNumeric() [3/3]

template<typename T >
template<typename Src >
v8::base::internal::StrictNumeric< T >::StrictNumeric ( Src value)
inlineconstexpr

Definition at line 273 of file safe_conversions.h.

Member Function Documentation

◆ operator Dst()

template<typename T >
template<typename Dst >
requires (kIsNumericRangeContained<Dst, T>)
v8::base::internal::StrictNumeric< T >::operator Dst ( ) const
inlineconstexpr

Definition at line 289 of file safe_conversions.h.

◆ operator!()

template<typename T >
bool v8::base::internal::StrictNumeric< T >::operator! ( ) const
inlineconstexpr

Definition at line 294 of file safe_conversions.h.

Friends And Related Symbol Documentation

◆ StrictNumeric

template<typename T >
template<typename U >
friend class StrictNumeric
friend

Definition at line 299 of file safe_conversions.h.

Member Data Documentation

◆ value_

template<typename T >
T v8::base::internal::StrictNumeric< T >::value_
private

Definition at line 301 of file safe_conversions.h.


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