Home
last modified time | relevance | path

Searched refs:enable_if (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__type_traits/
H A Denable_if.h21 struct _LIBCPP_TEMPLATE_VIS enable_if {}; struct
23 struct _LIBCPP_TEMPLATE_VIS enable_if<true, _Tp> {
28 using __enable_if_t _LIBCPP_NODEBUG = typename enable_if<_Bp, _Tp>::type;
32 using enable_if_t = typename enable_if<_Bp, _Tp>::type;
H A Dinvoke.h405 …: public enable_if<__invokable<_Fp, _Args...>::value, typename __invokable_r<void, _Fp, _Args...>:…
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerRandom.h22 typename std::enable_if<std::is_integral<T>::value, T>::type Rand() { in Rand()
32 typename std::enable_if<std::is_integral<T>::value, T>::type operator()(T n) { in operator()
36 typename std::enable_if<std::is_integral<T>::value, T>::type
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/cuda_wrappers/
H A Dalgorithm50 // with __attribute__((enable_if(true, ""))). This causes the signature of the
78 __attribute__((enable_if(true, "")))
85 __attribute__((enable_if(true, "")))
92 __attribute__((enable_if(true, "")))
99 __attribute__((enable_if(true, "")))
/freebsd-14.2/contrib/googletest/googletest/include/gtest/
H A Dgtest-message.h127 typename std::enable_if<
156 typename std::enable_if<
H A Dgtest-printers.h138 typename = typename std::enable_if<
174 template <typename T, typename = typename std::enable_if<
215 typename = typename std::enable_if<
238 typename = typename std::enable_if<
274 typename = typename std::enable_if<
727 typename = typename std::enable_if<!std::is_void<T>::value &&
H A Dgtest-assertion-result.h157 typename std::enable_if<
H A Dgtest-matchers.h477 typename std::enable_if<!std::is_same<U, const U&>::value>::type* =
776 template <typename T, typename = typename std::enable_if<
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h444 typename std::enable_if<
461 typename std::enable_if<
759 typename = typename std::enable_if<internal::disjunction<
926 typename = typename std::enable_if<conjunction<
937 typename = typename std::enable_if<conjunction<
1422 typename std::enable_if<
1449 typename std::enable_if<
1490 typename std::enable_if<
1499 typename std::enable_if<
1577 typename std::enable_if<
[all …]
H A Dgmock-spec-builders.h1757 typename std::enable_if<can_print_result<T>::value, int>::type = 0>
1771 typename std::enable_if<
1964 typename std::enable_if<std::is_function<F>::value>::type>
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_fdr_log_writer.h26 typename std::enable_if<
39 typename std::enable_if<
/freebsd-14.2/contrib/llvm-project/lldb/include/lldb/Utility/
H A DTimeout.h32 using EnableIf = std::enable_if<
/freebsd-14.2/contrib/llvm-project/libcxx/src/
H A Dhash.cpp56 inline _LIBCPP_HIDE_FROM_ABI typename enable_if<_Sz == 4, void>::type __check_for_overflow(size_t N… in __check_for_overflow()
62 inline _LIBCPP_HIDE_FROM_ABI typename enable_if<_Sz == 8, void>::type __check_for_overflow(size_t N… in __check_for_overflow()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/TextAPI/
H A DRecord.h132 typename std::enable_if<std::is_base_of<Record, V>::value>::type * =
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringRef.h857 #if defined(__clang__) && __has_attribute(enable_if) in StringLiteral()
860 __attribute((enable_if(__builtin_strlen(Str) == N - 1, in StringLiteral()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dcstddef38 #include <__type_traits/enable_if.h>
H A Dtype_traits30 template <bool, class T = void> struct enable_if;
228 using enable_if_t = typename enable_if<b,T>::type; // C++14
440 #include <__type_traits/enable_if.h>
/freebsd-14.2/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/
H A Dcomplex_cmath.h45 typename enable_if<is_integral<_Tp>::value || is_same<_Tp, double>::value,
52 typename enable_if<is_same<_Tp, float>::value, float>::type arg(_Tp __re) { in arg()
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory57 #include <__type_traits/enable_if.h>
/freebsd-14.2/contrib/libucl/include/
H A Ducl++.h311 template <class M, typename std::enable_if<
326 template <class V, typename std::enable_if<
/freebsd-14.2/contrib/bsnmp/tests/
H A Dcatch.hpp1557 typename std::enable_if<
1563 typename std::enable_if<
1570 typename std::enable_if<
1595 typename std::enable_if<::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
1606 … typename std::enable_if<!::Catch::Detail::IsStreamInsertable<Fake>::value, std::string>::type
4590 typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,
4599 typename std::enable_if<std::is_floating_point<T>::value,
6680 … typename std::enable_if<!is_related<Fun, BenchmarkFunction>::value, int>::type = 0>
7285 typename std::enable_if<!Detail::is_related<Fun, Benchmark>::value, int>::type = 0>
7350 typename std::enable_if<AllowManualDestruction>::type destruct() in destruct()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttrDocs.td738 other attributes, such as ``enable_if``.
852 void f() __attribute__((enable_if(true, ""))); // #1
853 void f() __attribute__((enable_if(true, ""))) __attribute__((enable_if(true, ""))); // #2
856 void g(int i, int j) __attribute__((enable_if(j, ""))) __attribute__((enable_if(true))); // #2
862 #2 has more enable_if attributes, because the first enable_if expressions are
865 Query for this feature with ``__has_attribute(enable_if)``.
875 int f(int a) __attribute__((enable_if(a > 0, "")));
877 int h(int a) __attribute__((enable_if(1, "")));
878 int i(int a) __attribute__((enable_if(TrueConstant, "")));
897 double foo(int i) __attribute__((enable_if(i > 0, "")));
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.inc180 using std::enable_if;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DHeaderSearch.h176 template <typename Enable = std::enable_if<IsConst, bool>>
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h220 T, typename std::enable_if<std::is_base_of<PythonObject, T>::value>::type> {

12