Home
last modified time | relevance | path

Searched refs:is_arithmetic (Results 1 – 25 of 39) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
H A Dis_arithmetic.pass.cpp20 static_assert( std::is_arithmetic<T>::value, ""); in test_is_arithmetic()
21 static_assert( std::is_arithmetic<const T>::value, ""); in test_is_arithmetic()
22 static_assert( std::is_arithmetic<volatile T>::value, ""); in test_is_arithmetic()
23 static_assert( std::is_arithmetic<const volatile T>::value, ""); in test_is_arithmetic()
35 static_assert(!std::is_arithmetic<T>::value, ""); in test_is_not_arithmetic()
36 static_assert(!std::is_arithmetic<const T>::value, ""); in test_is_not_arithmetic()
37 static_assert(!std::is_arithmetic<volatile T>::value, ""); in test_is_not_arithmetic()
38 static_assert(!std::is_arithmetic<const volatile T>::value, ""); in test_is_not_arithmetic()
H A Dlvalue_ref.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_lvalue_ref()
H A Drvalue_ref.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_rvalue_ref()
H A Dvoid.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_void_imp()
H A Dmember_object_pointer.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_object_pointer_imp()
H A Dfloating_point.pass.cpp21 static_assert( std::is_arithmetic<T>::value, ""); in test_floating_point_imp()
H A Dpointer.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_pointer_imp()
H A Dunion.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_union_imp()
H A Denum.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_enum_imp()
H A Dfunction.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_function_imp()
H A Dmember_function_pointer.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_member_function_pointer_imp()
H A Dclass.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_class_imp()
H A Darray.pass.cpp21 static_assert(!std::is_arithmetic<T>::value, ""); in test_array_imp()
H A Dintegral.pass.cpp21 static_assert( std::is_arithmetic<T>::value, ""); in test_integral_imp()
/llvm-project-15.0.7/clang/lib/Headers/
H A D__clang_hip_cmath.h317 template <class _Tp> struct is_arithmetic {
320 template <> struct is_arithmetic<bool> {
323 template <> struct is_arithmetic<char> {
335 template <> struct is_arithmetic<short> {
341 template <> struct is_arithmetic<int> {
347 template <> struct is_arithmetic<long> {
359 template <> struct is_arithmetic<float> {
362 template <> struct is_arithmetic<double> {
463 __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value, \
552 __hip::is_arithmetic<__T1>::value && __hip::is_arithmetic<__T2>::value &&
[all …]
/llvm-project-15.0.7/libcxx/include/
H A Dmath.h621 std::is_arithmetic<_A2>::value,
651 std::is_arithmetic<_A2>::value,
681 std::is_arithmetic<_A2>::value,
711 std::is_arithmetic<_A2>::value,
741 std::is_arithmetic<_A2>::value,
771 std::is_arithmetic<_A2>::value,
838 std::is_arithmetic<_A2>::value,
933 std::is_arithmetic<_A2>::value,
1011 std::is_arithmetic<_A2>::value,
1165 std::is_arithmetic<_A2>::value,
[all …]
H A Dcmath541 is_arithmetic<_A1>::value &&
542 is_arithmetic<_A2>::value &&
543 is_arithmetic<_A3>::value,
644 is_arithmetic<_A1>::value &&
645 is_arithmetic<_A2>::value &&
646 is_arithmetic<_A3>::value,
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_arithmetic.h23 template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_arithmetic struct
29 inline constexpr bool is_arithmetic_v = is_arithmetic<_Tp>::value;
H A Dis_fundamental.h38 is_arithmetic<_Tp>::value> {};
H A Dis_signed.h39 template <class _Tp, bool = is_arithmetic<_Tp>::value>
H A Dis_unsigned.h42 template <class _Tp, bool = is_arithmetic<_Tp>::value>
H A Dis_scalar.h43 : public integral_constant<bool, is_arithmetic<_Tp>::value ||
/llvm-project-15.0.7/libcxx/test/std/language.support/support.types/
H A Dbyte.pass.cpp23 static_assert(!std::is_arithmetic<std::byte>::value, "" );
/llvm-project-15.0.7/pstl/include/pstl/internal/
H A Dglue_memory_impl.h168 std::is_arithmetic<_ValueType>(), in uninitialized_fill()
196 std::is_arithmetic<_ValueType>(), in uninitialized_fill_n()
/llvm-project-15.0.7/clang/test/Headers/
H A Dhip-header.hip72 // ToDo: Fix __clang_hip_cmake.h to specialize __hip::is_arithmetic<_Float16>

12