Searched refs:prvalue (Results 1 – 7 of 7) sorted by relevance
6 template<typename T> T prvalue();43 float &fr2 = prvalue<X0>().f(); in test_ref_qualifier_binding()46 float &fr4 = prvalue<X0>().ft(3); in test_ref_qualifier_binding()52 float &fr2 = prvalue<X0>()(); in test_ref_qualifier_binding_with_surrogates()56 int &ir1 = lvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()57 float &fr1 = xvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()58 float &fr2 = prvalue<X0>() + prvalue<X0>(); in test_ref_qualifier_binding_operators()61 float &fr4 = prvalue<X0>() + 3; in test_ref_qualifier_binding_operators()67 float &fr2 = prvalue<X0>().h(); in test_ref_qualifier_overloading()70 float &fr4 = prvalue<X0>().h2(); in test_ref_qualifier_overloading()
5 template<typename T> T prvalue();34 Base&& base2 = prvalue<Base>(); in test_rvalue_refs()35 Base&& base3 = prvalue<Derived>(); in test_rvalue_refs()78 NonCopyable &&nc0 = prvalue<NonCopyable>(); in test_direct_binding()79 NonCopyable &&nc1 = prvalue<NonCopyableDerived>(); in test_direct_binding()82 const NonCopyable &nc4 = prvalue<NonCopyable>(); in test_direct_binding()83 const NonCopyable &nc5 = prvalue<NonCopyableDerived>(); in test_direct_binding()146 base_rvalue_ref(prvalue<Base>()); in test()147 base_rvalue_ref(prvalue<Derived>()); in test()
13 template<typename T> T prvalue();18 X<int> xi0 = f0(prvalue<int>()); in test_f0()21 X<Y> xy0 = f0(prvalue<Y>()); in test_f0()30 X<int> xi0 = f1(prvalue<int>()); in test_f1()33 X<Y> xy0 = f1(prvalue<Y>()); in test_f1()
13 template<typename T> T prvalue();18 …int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rval… in test_classification()21 X &&ptr5 = const_cast<X&&>(prvalue<X>()); in test_classification()25 …int *&ptr8 = const_cast<int *&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue… in test_classification()28 …X &ptrB = const_cast<X&>(prvalue<X>()); // expected-error {{const_cast from rvalue to reference ty… in test_classification()
7 template<typename T> T prvalue();20 (prvalue<X>().*pmf)(17); in test()26 …(prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){… in test()32 (prvalue<X>().*r_pmf)(17); in test()
4 void prvalue() { in prvalue() function