Home
last modified time | relevance | path

Searched refs:mem_fun_ref (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/libcxx/test/libcxx/depr/depr.function.objects/
H A Dadaptors.depr_in_cxx11.verify.cpp49 …std::mem_fun_ref<int, Foo>(&Foo::zero); // expected-warning {{'mem_fun_ref<int, Foo>' is deprecate… in main()
50 …std::mem_fun_ref<int, Foo, int>(&Foo::identity); // expected-warning {{'mem_fun_ref<int, Foo, int>… in main()
51 …std::mem_fun_ref<int, Foo>(&Foo::const_zero); // expected-warning {{'mem_fun_ref<int, Foo>' is dep… in main()
52 …std::mem_fun_ref<int, Foo, int>(&Foo::const_identity); // expected-warning {{'mem_fun_ref<int, Foo… in main()
H A Ddepr.adaptors.cxx1z.pass.cpp58 (std::is_same<MFR, decltype((std::mem_fun_ref(&Foo::zero)))>::value), ""); in main()
59 static_assert((std::is_same<CMFR, decltype((std::mem_fun_ref( in main()
63 assert((std::mem_fun_ref(&Foo::zero)(f) == 0)); in main()
64 assert((std::mem_fun_ref(&Foo::identity)(f, 5) == 5)); in main()
/llvm-project-15.0.7/libcxx/include/__functional/
H A Dmem_fun_ref.h88 mem_fun_ref(_Sp (_Tp::*__f)()) in mem_fun_ref() function
94 mem_fun_ref(_Sp (_Tp::*__f)(_Ap)) in mem_fun_ref() function
160 mem_fun_ref(_Sp (_Tp::*__f)() const) in mem_fun_ref() function
166 mem_fun_ref(_Sp (_Tp::*__f)(_Ap) const) in mem_fun_ref() function
/llvm-project-15.0.7/libcxx/test/std/depr/depr.function.objects/depr.adaptors/depr.member.pointer.adaptors/
H A Dmem_fun_ref1.pass.cpp34 assert(std::mem_fun_ref(&A::a2)(a, 5) == 6); in main()
H A Dmem_fun_ref1.cxx1z.compile.fail.cpp35 assert(std::mem_fun_ref(&A::a2)(a, 5) == 6); in main()
H A Dmem_fun_ref.cxx1z.compile.fail.cpp35 assert(std::mem_fun_ref(&A::a1)(a) == 5); in main()
H A Dmem_fun_ref.pass.cpp34 assert(std::mem_fun_ref(&A::a1)(a) == 5); in main()
H A Dconst_mem_fun_ref1.cxx1z.compile.fail.cpp35 assert(std::mem_fun_ref(&A::a4)(a, 6) == 5); in main()
H A Dconst_mem_fun_ref.cxx1z.compile.fail.cpp35 assert(std::mem_fun_ref(&A::a3)(a) == 1); in main()
H A Dconst_mem_fun_ref.pass.cpp34 assert(std::mem_fun_ref(&A::a3)(a) == 1); in main()
H A Dconst_mem_fun_ref1.pass.cpp34 assert(std::mem_fun_ref(&A::a4)(a, 6) == 5); in main()
/llvm-project-15.0.7/libcxx/include/
H A Dfunctional329 template<class S, class T> mem_fun_ref_t<S,T> mem_fun_ref(S (T::*f)()); // depreca…
330 template<class S, class T, class A> mem_fun1_ref_t<S,T,A> mem_fun_ref(S (T::*f)(A)); // depreca…
367 template <class S, class T> const_mem_fun_ref_t<S,T> mem_fun_ref(S (T::*f)() const); …
368 template <class S, class T, class A> const_mem_fun1_ref_t<S,T,A> mem_fun_ref(S (T::*f)(A) const); …
523 #include <__functional/mem_fun_ref.h>
H A DCMakeLists.txt323 __functional/mem_fun_ref.h
H A Dmodule.modulemap.in693 module mem_fun_ref { private header "__functional/mem_fun_ref.h" }
/llvm-project-15.0.7/libcxx/docs/
H A DUsingLibcxx.rst285 class templates, and the `bind1st`, `bind2nd`, `mem_fun`, `mem_fun_ref`,
/llvm-project-15.0.7/llvm/utils/gn/secondary/libcxx/include/
H A DBUILD.gn384 "__functional/mem_fun_ref.h",