HomeSort by relevance Sort by last modified time
    Searched refs:prvalue (Results 1 - 7 of 7) sorted by null

  /external/clang/test/CXX/expr/expr.mptr.oper/
p6-0x.cpp 7 template<typename T> T prvalue();
20 (prvalue<X>().*pmf)(17);
26 (prvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}}
32 (prvalue<X>().*r_pmf)(17);
  /external/clang/test/CXX/over/over.match/over.match.funcs/
p4-0x.cpp 6 template<typename T> T prvalue();
43 float &fr2 = prvalue<X0>().f();
46 float &fr4 = prvalue<X0>().ft(3);
52 float &fr2 = prvalue<X0>()();
56 int &ir1 = lvalue<X0>() + prvalue<X0>();
57 float &fr1 = xvalue<X0>() + prvalue<X0>();
58 float &fr2 = prvalue<X0>() + prvalue<X0>();
61 float &fr4 = prvalue<X0>() + 3;
67 float &fr2 = prvalue<X0>().h()
    [all...]
  /external/clang/test/CXX/expr/expr.post/expr.const.cast/
p1-0x.cpp 13 template<typename T> T prvalue();
18 int *&&ptr2 = const_cast<int *&&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&&'}}
21 X &&ptr5 = const_cast<X&&>(prvalue<X>());
25 int *&ptr8 = const_cast<int *&>(prvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&'}}
28 X &ptrB = const_cast<X&>(prvalue<X>()); // expected-error {{const_cast from rvalue to reference type 'X &'}}
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/
p3-0x.cpp 13 template<typename T> T prvalue();
18 X<int> xi0 = f0(prvalue<int>());
21 X<Y> xy0 = f0(prvalue<Y>());
30 X<int> xi0 = f1(prvalue<int>());
33 X<Y> xy0 = f1(prvalue<Y>());
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p2-generic-lambda-1y.cpp 3 // prvalue
4 void prvalue() { function
p2.cpp 3 // prvalue
4 void prvalue() { function
  /external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
p5-0x.cpp 5 template<typename T> T prvalue();
25 // - is an xvalue, class prvalue, array prvalue or function lvalue
33 // class prvalue case
34 Base&& base2 = prvalue<Base>();
35 Base&& base3 = prvalue<Derived>();
37 // array prvalue case
45 // an xvalue, class prvalue, or function lvalue of type "cv3
53 // class prvalue
78 NonCopyable &&nc0 = prvalue<NonCopyable>()
    [all...]

Completed in 848 milliseconds