Lines Matching refs:xvalue
6 template<typename T> T&& xvalue();
29 Base&& base0 = xvalue<Base>(); in test_rvalue_refs()
30 Base&& base1 = xvalue<Derived>(); in test_rvalue_refs()
31 int&& int0 = xvalue<int>(); in test_rvalue_refs()
80 NonCopyable &&nc2 = xvalue<NonCopyable>(); in test_direct_binding()
81 NonCopyable &&nc3 = xvalue<NonCopyableDerived>(); in test_direct_binding()
84 const NonCopyable &nc6 = xvalue<NonCopyable>(); in test_direct_binding()
85 const NonCopyable &nc7 = xvalue<NonCopyableDerived>(); in test_direct_binding()
142 base_rvalue_ref(xvalue<Base>()); in test()
143 base_rvalue_ref(xvalue<Derived>()); in test()
144 int_rvalue_ref(xvalue<int>()); in test()
217 …int & ir2 = (xvalue<IntBitfield>().i); // expected-error{{non-const lvalue reference to type 'int'… in test()
218 int && ir3 = (xvalue<IntBitfield>().i); // no-warning in test()
222 …volatile int & vir2 = (xvalue<IntBitfield>().i); // expected-error{{volatile lvalue reference to t… in test()
223 volatile int && vir3 = (xvalue<IntBitfield>().i); // no-warning in test()
227 const int & cir2 = (xvalue<IntBitfield>().i); // no-warning in test()
228 const int && cir3 = (xvalue<IntBitfield>().i); // no-warning in test()
232 …const volatile int & cvir2 = (xvalue<IntBitfield>().i); // expected-error{{volatile lvalue referen… in test()
233 const volatile int && cvir3 = (xvalue<IntBitfield>().i); // no-warning in test()