Home
last modified time | relevance | path

Searched refs:mem_fun (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.function.objects/
H A Dadaptors.depr_in_cxx11.verify.cpp40 std::mem_fun<int, Foo>(&Foo::zero); // expected-warning {{'mem_fun<int, Foo>' is deprecated}} in main()
41 …std::mem_fun<int, Foo, int>(&Foo::identity); // expected-warning {{'mem_fun<int, Foo, int>' is dep… in main()
42 …std::mem_fun<int, Foo>(&Foo::const_zero); // expected-warning {{'mem_fun<int, Foo>' is deprecated}} in main()
43 …std::mem_fun<int, Foo, int>(&Foo::const_identity); // expected-warning {{'mem_fun<int, Foo, int>' … in main()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dmem_fun_ref.h52 mem_fun(_Sp (_Tp::*__f)()) in mem_fun() function
58 mem_fun(_Sp (_Tp::*__f)(_Ap)) in mem_fun() function
124 mem_fun(_Sp (_Tp::*__f)() const) in mem_fun() function
130 mem_fun(_Sp (_Tp::*__f)(_Ap) const) in mem_fun() function
/llvm-project-15.0.7/libcxx/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/
H A Dmem_fun1.pass.cpp34 assert(std::mem_fun(&A::a2)(&a, 5) == 6); in main()
H A Dmem_fun1.cxx1z.compile.fail.cpp35 assert(std::mem_fun(&A::a2)(&a, 5) == 6); in main()
H A Dmem_fun.cxx1z.compile.fail.cpp35 assert(std::mem_fun(&A::a1)(&a) == 5); in main()
H A Dmem_fun.pass.cpp34 assert(std::mem_fun(&A::a1)(&a) == 5); in main()
H A Dconst_mem_fun.cxx1z.compile.fail.cpp35 assert(std::mem_fun(&A::a3)(&a) == 1); in main()
H A Dconst_mem_fun1.cxx1z.compile.fail.cpp35 assert(std::mem_fun(&A::a4)(&a, 6) == 5); in main()
H A Dconst_mem_fun1.pass.cpp34 assert(std::mem_fun(&A::a4)(&a, 6) == 5); in main()
H A Dconst_mem_fun.pass.cpp34 assert(std::mem_fun(&A::a3)(&a) == 1); in main()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dfor-range-examples.cpp109 template<typename F> mem_fun_impl<F> mem_fun(F f) { return mem_fun_impl<F>(f); } in mem_fun() function
146 for (auto a : map(map_range::mem_fun(&T::get<int>), pairs)) { in main()
/llvm-project-15.0.7/libcxx/include/
H A Dfunctional310 template<class S, class T> mem_fun_t<S,T> mem_fun(S (T::*f)()); // deprecated in C…
311 template<class S, class T, class A> mem_fun1_t<S,T,A> mem_fun(S (T::*f)(A)); // deprecated in C…
348 template <class S, class T> const_mem_fun_t<S,T> mem_fun(S (T::*f)() const); // de…
349 template <class S, class T, class A> const_mem_fun1_t<S,T,A> mem_fun(S (T::*f)(A) const); // de…
/llvm-project-15.0.7/libcxx/docs/
H A DUsingLibcxx.rst285 class templates, and the `bind1st`, `bind2nd`, `mem_fun`, `mem_fun_ref`,