Home
last modified time | relevance | path

Searched refs:_IsSame (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/libcxx/src/include/
H A Dto_chars_floating_point.h108 constexpr int _Full_precision = _IsSame<_Floating, float>::value ? 6 : 13;
131 if constexpr (_IsSame<_Floating, float>::value) {
177 } else if constexpr (_IsSame<_Floating, float>::value) {
404 if constexpr (_IsSame<_Floating, float>::value) {
580 constexpr const char* UIntName = _IsSame<UInt, uint32_t>::value ? "uint32_t" : "uint64_t";
585 if constexpr (_IsSame<UInt, uint32_t>::value) {
600 using UInt = conditional_t<_IsSame<Floating, float>::value, uint32_t, uint64_t>;
619 constexpr const char* FloatingName = _IsSame<Floating, float>::value ? "float" : "double";
663 constexpr int Hexits = _IsSame<Floating, float>::value ? 6 : 13;
664 constexpr const char* Suffix = _IsSame<Floating, float>::value ? "f" : "";
[all …]
/llvm-project-15.0.7/libcxx/include/__random/
H A Dclamp_to_integral.h34 static_assert((_IsSame<_FloatT, float>::value || _IsSame<_FloatT, double>::value in __max_representable_int_for_float()
35 || _IsSame<_FloatT,long double>::value), "unsupported floating point type"); in __max_representable_int_for_float()
H A Dis_valid.h56 _IsSame<decltype(declval<_Gp&>()()), typename _Gp::result_type>::value
/llvm-project-15.0.7/libcxx/include/
H A Dmath.h844 static_assert((!(std::_IsSame<_A1, __result_type>::value && in atan2()
939 static_assert((!(std::_IsSame<_A1, __result_type>::value && in fmod()
1017 static_assert((!(std::_IsSame<_A1, __result_type>::value && in pow()
1170 static_assert((!(std::_IsSame<_A1, __result_type>::value && in __libcpp_copysign()
1255 static_assert((!(std::_IsSame<_A1, __result_type>::value && in fdim()
1291 static_assert((!(std::_IsSame<_A1, __result_type>::value && in fma()
1292 std::_IsSame<_A2, __result_type>::value && in fma()
1317 static_assert((!(std::_IsSame<_A1, __result_type>::value && in fmax()
1338 static_assert((!(std::_IsSame<_A1, __result_type>::value && in fmin()
1359 static_assert((!(std::_IsSame<_A1, __result_type>::value && in hypot()
[all …]
H A Dcmath652 static_assert(!(_IsSame<_A1, __result_type>::value &&
653 _IsSame<_A2, __result_type>::value &&
654 _IsSame<_A3, __result_type>::value));
H A Diomanip580 …template<class _T2, __enable_if_t<_IsSame<_Traits, void>::value || _IsSame<_Traits, _T2>::value>* …
H A Dtype_traits777 : conditional<_IsSame<_RawValTy, _Key>::value, __extract_key_self_tag,
782 : conditional<_IsSame<typename remove_const<_First>::type, _Key>::value,
791 : integral_constant<bool, _IsSame<_RawValTy, _Key>::value> {};
H A D__tuple390 struct __all : _IsSame<__all_dummy<_Pred...>, __all_dummy<((void)_Pred, true)...>> {};
H A Darray384 class = enable_if_t<__all<_IsSame<_Tp, _Args>::value...>::value>
H A Doptional755 _IsSame<_InPlaceT, in_place_t>,
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dcommon_type.h116_IsSame<_Tp, typename decay<_Tp>::type>::value && _IsSame<_Up, typename decay<_Up>::type>::value,
H A Dis_primary_template.h25 _IsSame<_Tp, typename _Tp::__primary_template>::value
H A Dis_same.h37 using _IsSame = _BoolConstant<__is_same(_Tp, _Up)>; variable
H A Dremove_cvref.h27 struct __is_same_uncvref : _IsSame<__uncvref_t<_Tp>, __uncvref_t<_Up> > {};
H A Dadd_pointer.h26 _IsSame<typename remove_cv<_Tp>::type, void>::value>
/llvm-project-15.0.7/libcxx/include/__concepts/
H A Dsame_as.h26 concept __same_as_impl = _IsSame<_Tp, _Up>::value;
/llvm-project-15.0.7/libcxx/test/libcxx/utilities/meta/stress_tests/
H A Dstress_test_is_same.sh.cpp32 #define IS_SAME std::_IsSame
/llvm-project-15.0.7/libcxx/src/include/ryu/
H A Dryu.h93 if constexpr (_IsSame<_Floating, float>::value) { in _Floating_to_chars_ryu()
/llvm-project-15.0.7/libcxx/include/__utility/
H A Dcmp.h29 struct _IsSameAsAny : _Or<_IsSame<_Tp, _Up>...> {};
/llvm-project-15.0.7/libcxx/include/__iterator/
H A Dmove_iterator.h104 requires (!_IsSame<_Up, _Iter>::value) && convertible_to<const _Up&, _Iter>
109 requires (!_IsSame<_Up, _Iter>::value) &&
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dbind.h28 _IsSame<_Tp, __uncvref_t<_Tp> >::value,
40 _IsSame<_Tp, __uncvref_t<_Tp> >::value,