| /llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.function.objects/ |
| H A D | adaptors.depr_in_cxx11.verify.cpp | 40 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 D | mem_fun_ref.h | 52 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 D | mem_fun1.pass.cpp | 34 assert(std::mem_fun(&A::a2)(&a, 5) == 6); in main()
|
| H A D | mem_fun1.cxx1z.compile.fail.cpp | 35 assert(std::mem_fun(&A::a2)(&a, 5) == 6); in main()
|
| H A D | mem_fun.cxx1z.compile.fail.cpp | 35 assert(std::mem_fun(&A::a1)(&a) == 5); in main()
|
| H A D | mem_fun.pass.cpp | 34 assert(std::mem_fun(&A::a1)(&a) == 5); in main()
|
| H A D | const_mem_fun.cxx1z.compile.fail.cpp | 35 assert(std::mem_fun(&A::a3)(&a) == 1); in main()
|
| H A D | const_mem_fun1.cxx1z.compile.fail.cpp | 35 assert(std::mem_fun(&A::a4)(&a, 6) == 5); in main()
|
| H A D | const_mem_fun1.pass.cpp | 34 assert(std::mem_fun(&A::a4)(&a, 6) == 5); in main()
|
| H A D | const_mem_fun.pass.cpp | 34 assert(std::mem_fun(&A::a3)(&a) == 1); in main()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | for-range-examples.cpp | 109 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 D | functional | 310 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 D | UsingLibcxx.rst | 285 class templates, and the `bind1st`, `bind2nd`, `mem_fun`, `mem_fun_ref`,
|