![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <checked_math_impl.h>
Public Member Functions | |
template<typename Src = int> | |
constexpr | CheckedNumericState (Src value=0, bool is_valid=true) |
template<typename Src > | |
constexpr | CheckedNumericState (const CheckedNumericState< Src > &rhs) |
constexpr bool | is_valid () const |
constexpr T | value () const |
Static Private Member Functions | |
template<typename Src > | |
static constexpr T | WellDefinedConversionOrZero (Src value, bool is_valid) |
Private Attributes | |
bool | is_valid_ |
T | value_ |
Definition at line 500 of file checked_math_impl.h.
|
inlineexplicitconstexpr |
Definition at line 503 of file checked_math_impl.h.
|
inlineconstexpr |
Definition at line 510 of file checked_math_impl.h.
|
inlineconstexpr |
Definition at line 513 of file checked_math_impl.h.
|
inlineconstexpr |
Definition at line 515 of file checked_math_impl.h.
|
inlinestaticconstexprprivate |
Definition at line 520 of file checked_math_impl.h.
|
private |
Definition at line 529 of file checked_math_impl.h.
|
private |
Definition at line 530 of file checked_math_impl.h.