Home
last modified time | relevance | path

Searched refs:__is_callable (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/type_traits/
H A Dis_callable.compile.pass.cpp25 static_assert(std::__is_callable<Functor>::value, "");
26 static_assert(std::__is_callable<decltype(func)>::value, "");
27 static_assert(!std::__is_callable<NotFunctor>::value, "");
28 static_assert(!std::__is_callable<NotFunctor,
30 static_assert(std::__is_callable<ArgumentFunctor, int, int>::value, "");
31 static_assert(!std::__is_callable<ArgumentFunctor, int>::value, "");
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_callable.h28 struct __is_callable : decltype(__is_callable_helper<_Func, _Args...>(0)) {}; struct
/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dminmax.h50 static_assert(__is_callable<_Compare, _Tp, _Tp>::value, "The comparator has to be callable"); in minmax()
H A Dlower_bound.h53 static_assert(__is_callable<_Compare, decltype(*__first), const _Tp&>::value, in lower_bound()
H A Dmin_element.h54 static_assert(__is_callable<_Compare, decltype(*__first), decltype(*__first)>::value, in min_element()
H A Dincludes.h48 static_assert(__is_callable<_Compare, decltype(*__first1), decltype(*__first2)>::value, in includes()
H A Dis_permutation.h191 static_assert(__is_callable<_BinaryPredicate, decltype(*__first1), decltype(*__first2)>::value,
227 static_assert(__is_callable<_BinaryPredicate, decltype(*__first1), decltype(*__first2)>::value,
H A Dpartial_sort_copy.h68 static_assert(__is_callable<_Compare, decltype(*__first), decltype(*__result_first)>::value, in partial_sort_copy()
H A Dequal_range.h63 static_assert(__is_callable<_Compare, decltype(*__first), const _Tp&>::value, in equal_range()
H A Dminmax_element.h87 static_assert(__is_callable<_Compare, decltype(*__first), decltype(*__first)>::value, in minmax_element()
H A Dsearch_n.h166 static_assert(__is_callable<_BinaryPredicate, decltype(*__first), const _Tp&>::value, in search_n()
H A Dsearch.h177 static_assert(__is_callable<_BinaryPredicate, decltype(*__first1), decltype(*__first2)>::value, in search()