/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/reference_wrapper/ |
H A D | typedefs-2.cc | 27 reference_wrapper<int(float)>::argument_type i01; 28 // reference_wrapper<int(float) const>::argument_type i02; 29 // reference_wrapper<int(float) volatile>::argument_type i03; 30 // reference_wrapper<int(float) const volatile>::argument_type i04; 31 reference_wrapper<int(float)>::result_type i05; 32 // reference_wrapper<int(float) const>::result_type i06; 33 // reference_wrapper<int(float) volatile>::result_type i07; 34 // reference_wrapper<int(float) const volatile>::result_type i08; 36 reference_wrapper<int(*)(float)>::argument_type i09; 37 reference_wrapper<in [all...] |
H A D | result_type.cc | 29 reference_wrapper<int(float, ...)>::result_type i01; 30 // reference_wrapper<int(float, ...) const>::result_type i02; 31 // reference_wrapper<int(float, ...) volatile>::result_type i03; 32 // reference_wrapper<int(float, ...) const volatile>::result_type i04; 34 reference_wrapper<int(*)(float, ...)>::result_type i05; 35 reference_wrapper<int(* const)(float, ...)>::result_type i06; 36 reference_wrapper<int(* volatile)(float, ...)>::result_type i07; 37 reference_wrapper<int(* const volatile)(float, ...)>::result_type i08; 39 reference_wrapper<int(T::*)(float, ...)>::result_type i09; 40 reference_wrapper<in [all...] |
H A D | typedefs.cc | 41 using std::reference_wrapper; 45 static_assert( is_same<reference_wrapper<int_result_type>::result_type, int>::value, "has result_type" ); 46 static_assert( is_same<reference_wrapper<derives_unary>::result_type, int>::value, "has result_type" ); 47 static_assert( is_same<reference_wrapper<derives_binary>::result_type, int>::value, "has result_type" ); 48 static_assert( is_same<reference_wrapper<derives_unary_binary>::result_type, int>::value, "has result_type" ); 49 static_assert( is_same<reference_wrapper<int(void)>::result_type, int>::value, "has result_type" ); 50 static_assert( is_same<reference_wrapper<int(*)(void)>::result_type, int>::value, "has result_type" ); 51 static_assert( is_same<reference_wrapper<int (::X::*)()>::result_type, int>::value, "has result_type" ); 52 static_assert( is_same<reference_wrapper<int (::X::*)(float)>::result_type, int>::value, "has result_type" );
|
H A D | 24803.cc | 53 std::reference_wrapper<double (int)>* pr1(0); 55 std::reference_wrapper<double (*)(int)>* pr2(0); 57 std::reference_wrapper<int (test_type::*)()>* pr3(0); 59 std::reference_wrapper<int (test_type::*)()const>* pr4(0); 61 std::reference_wrapper<functor1>* pr5(0); 67 std::reference_wrapper<double (int, char)>* pr1b(0); 69 std::reference_wrapper<double (*)(int, char)>* pr2b(0); 71 std::reference_wrapper<int (test_type::*)(char)>* pr3b(0); 73 std::reference_wrapper<int (test_type::*)()const>* pr4b(0); 75 std::reference_wrapper<functor [all...] |
H A D | 41792.cc | 33 std::reference_wrapper<OverloadedAddress> rw1(*ao1);
|
H A D | requirements.cc | 28 using R = std::reference_wrapper<NonTrivial>;
|
H A D | typedefs-3.cc | 70 static_assert( !has_arg_type<std::reference_wrapper<T>>::value, 71 "reference_wrapper has no nested argument_type"); 77 typedef std::reference_wrapper<T> ref; 80 "reference_wrapper has nested argument_type"); 85 "reference_wrapper has the correct argument_type"); 92 typedef std::reference_wrapper<T> ref; 95 "reference_wrapper has no nested first_argument_type"); 98 "reference_wrapper has no nested second_argument_type"); 104 typedef std::reference_wrapper<T> ref; 107 "reference_wrapper ha [all...] |
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/2_general_utilities/headers/functional/ |
H A D | synopsis.cc | 27 template <class T> class reference_wrapper; 28 template <class T> reference_wrapper<T> ref(T&); 29 template <class T> reference_wrapper<const T> cref(const T&); 30 template <class T> reference_wrapper<T> ref(reference_wrapper<T>); 31 template <class T> reference_wrapper<const T> cref(reference_wrapper<T>);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp1y/ |
H A D | lambda-init13.C | 5 struct reference_wrapper struct 11 auto make_monad(reference_wrapper<T> arg) { 17 make_monad(reference_wrapper<int&>());
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/tr1/3_function_objects/reference_wrapper/ |
H A D | typedefs.cc | 47 using std::tr1::reference_wrapper; 54 VERIFY((is_same<reference_wrapper<int_result_type>::result_type, int>::value)); 55 VERIFY((is_same<reference_wrapper<derives_unary>::result_type, int>::value)); 56 VERIFY((is_same<reference_wrapper<derives_binary>::result_type, int>::value)); 57 VERIFY((is_same<reference_wrapper<derives_unary_binary>::result_type, int>::value)); 58 VERIFY((is_same<reference_wrapper<int(void)>::result_type, int>::value)); 59 VERIFY((is_same<reference_wrapper<int(*)(void)>::result_type, int>::value)); 60 VERIFY((is_same<reference_wrapper<int (::X::*)()>::result_type, int>::value)); 61 VERIFY((is_same<reference_wrapper<int (::X::*)(float)>::result_type, int>::value)); 64 VERIFY((is_convertible<reference_wrapper<derives_unar [all...] |
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/overload/ |
H A D | autoptr1.C | 15 class reference_wrapper class 18 reference_wrapper(T& t); 26 void g(reference_wrapper< auto_ptr< X > > r)
|
/haiku-buildtools/gcc/libstdc++-v3/src/c++11/ |
H A D | compatibility-thread-c++0x.cc | 120 template void call_once(once_flag&, void (thread::*&&)(), reference_wrapper<thread>&&); 121 template _Bind_simple_helper<void (thread::*)(), reference_wrapper<thread>>::__type __bind_simple(void (thread::*&&)(), reference_wrapper<thread>&&);
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/shared_ptr/cons/ |
H A D | unique_ptr_deleter_ref_2.cc | 49 typedef std::reference_wrapper<D> D2;
|
/haiku-buildtools/gcc/libstdc++-v3/testsuite/20_util/function_objects/mem_fn/ |
H A D | 55463.cc | 47 std::reference_wrapper<X> ref(); 48 std::reference_wrapper<const X> cref(); 49 std::reference_wrapper<Y> yref(); 104 std::reference_wrapper<X> r = ref(); 106 = std::mem_fn( &std::reference_wrapper<X>::get )( r ); 107 const std::reference_wrapper<X> cr = ref(); 109 = std::mem_fn( &std::reference_wrapper<X>::get )( cr ); 111 = std::mem_fn( &std::reference_wrapper<X>::get )( ref() );
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | variadic-tuple.C | 9 // Trivial reference_wrapper 11 struct reference_wrapper struct 13 reference_wrapper(T& x) : ptr(&x) { } function in struct:reference_wrapper 20 template<typename T> reference_wrapper<T> ref(T& x) { return x; } 21 template<typename T> reference_wrapper<const T> cref(const T& x) { return x; } 110 struct make_tuple_result<reference_wrapper<T> >
|
H A D | variadic-bind.C | 6 // Trivial reference_wrapper 8 struct reference_wrapper struct 10 reference_wrapper(T& x) : ptr(&x) { } function in struct:reference_wrapper 19 template<typename T> reference_wrapper<T> ref(T& x) { return x; } 20 template<typename T> reference_wrapper<const T> cref(const T& x) { return x; } 109 struct make_tuple_result<reference_wrapper<T> > 325 // Return the stored reference from reference_wrapper 327 inline T& mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&) 367 struct is_reference_wrapper<reference_wrapper<T> > {
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | pr30252.C | 102 struct reference_wrapper struct in namespace:sigc 122 class bound_argument< reference_wrapper<T_wrapped> >
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/ |
H A D | dump1.C | 335 class reference_wrapper class in namespace:std 349 inline reference_wrapper<_Tp>
|
/haiku-buildtools/gcc/libstdc++-v3/include/bits/ |
H A D | shared_ptr_base.h | 637 reference_wrapper<typename remove_reference<_Del>::type>,
|