8#ifndef V8_BASE_NUMERICS_INTEGRAL_CONSTANT_LIKE_H_
9#define V8_BASE_NUMERICS_INTEGRAL_CONSTANT_LIKE_H_
19 std::is_integral_v<
decltype(T::value)> &&
20 !std::is_same_v<
bool, std::remove_const_t<
decltype(T::value)>> &&
21 std::convertible_to<
T,
decltype(T::value)> &&
22 std::equality_comparable_with<T,
decltype(T::value)> &&
23 std::bool_constant<
T() == T::value>::value &&
24 std::bool_constant<static_cast<decltype(T::value)>(
T()) == T::value>
::value;
std::unique_ptr< ValueMirror > value