Lines Matching refs:reference_wrapper
79 static_assert((std::is_same<std::reference_wrapper<functor1>::result_type, in main()
81 static_assert((std::is_same<std::reference_wrapper<functor2>::result_type, in main()
83 static_assert((std::is_same<std::reference_wrapper<functor3>::result_type, in main()
85 static_assert((std::is_same<std::reference_wrapper<void()>::result_type, in main()
87 static_assert((std::is_same<std::reference_wrapper<int*(double*)>::result_type, in main()
89 static_assert((std::is_same<std::reference_wrapper<void(*)()>::result_type, in main()
91 static_assert((std::is_same<std::reference_wrapper<int*(*)(double*)>::result_type, in main()
93 static_assert((std::is_same<std::reference_wrapper<int*(C::*)(double*)>::result_type, in main()
95 …static_assert((std::is_same<std::reference_wrapper<int (C::*)(double*) const volatile>::result_typ… in main()
97 static_assert((std::is_same<std::reference_wrapper<C()>::result_type, in main()
99 static_assert(has_result_type<std::reference_wrapper<functor3> >::value, ""); in main()
100 static_assert(!has_result_type<std::reference_wrapper<functor4> >::value, ""); in main()
101 static_assert(!has_result_type<std::reference_wrapper<C> >::value, ""); in main()