Searched refs:xvalue (Results 1 - 11 of 11) sorted by relevance
/external/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/ |
H A D | p1-0x.cpp | 5 // object type, the result is an xvalue; 9 template<typename T> T&& xvalue(); 15 int &&ir3 = reinterpret_cast<int &&>(xvalue<char>()); 17 int &ir4 = reinterpret_cast<int &>(xvalue<char>());
|
/external/clang/test/CXX/expr/expr.mptr.oper/ |
H A D | p6-0x.cpp | 6 template<typename T> T&& xvalue(); 19 (xvalue<X>().*pmf)(17); 25 (xvalue<X>().*l_pmf)(17); // expected-error-re{{pointer-to-member function type 'int (X::*)(int){{( __attribute__\(\(thiscall\)\))?}} &' can only be called on an lvalue}} 31 (xvalue<X>().*r_pmf)(17);
|
/external/clang/test/CXX/over/over.match/over.match.funcs/ |
H A D | p4-0x.cpp | 5 template<typename T> T &&xvalue(); 42 float &fr1 = xvalue<X0>().f(); 45 float &fr3 = xvalue<X0>().ft(2); 51 float &fr1 = xvalue<X0>()(); 57 float &fr1 = xvalue<X0>() + prvalue<X0>(); 60 float &fr3 = xvalue<X0>() + 2; 66 float &fr1 = xvalue<X0>().h(); 69 float &fr3 = xvalue<X0>().h2();
|
/external/clang/test/CXX/expr/expr.post/expr.static.cast/ |
H A D | p3-0x.cpp | 10 template<typename T> T&& xvalue(); 17 A &&ar4 = static_cast<A&&>(xvalue<A>()); 18 A &&ar5 = static_cast<A&&>(xvalue<B>()); 23 const A &&ar10 = static_cast<const A&&>(xvalue<A>()); 24 const A &&ar11 = static_cast<const A&&>(xvalue<B>());
|
/external/libcxx/test/support/ |
H A D | emplace_constructible.h | 10 explicit EmplaceConstructible(T xvalue) : value(xvalue) {} argument 18 explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {} argument 30 explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {} 50 explicit EmplaceConstructibleMoveableAndAssignable(T xvalue) noexcept 51 : value(xvalue) {} 66 EmplaceConstructibleMoveableAndAssignable& operator=(T xvalue) { argument 67 value = std::move(xvalue); [all...] |
H A D | archetypes.hpp | 82 TestBase& operator=(int xvalue) noexcept { 83 value = xvalue; 146 TEST_CONSTEXPR_CXX14 ValueBase& operator=(int xvalue) noexcept { 147 value = xvalue;
|
/external/clang/test/CXX/expr/expr.post/expr.const.cast/ |
H A D | p1-0x.cpp | 5 // is an rvalue reference to object type, the result is an xvalue;. 12 template<typename T> T&& xvalue(); 17 int *&&ptr1 = const_cast<int *&&>(xvalue<const int*>()); 20 X &&ptr4 = const_cast<X&&>(xvalue<X>()); 24 int *&ptr7 = const_cast<int *&>(xvalue<const int*>()); // expected-error {{const_cast from rvalue to reference type 'int *&'}} 27 X &ptrA = const_cast<X&>(xvalue<X>()); // expected-error {{const_cast from rvalue to reference type 'X &'}}
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
H A D | p3-0x.cpp | 14 template<typename T> T&& xvalue(); 19 X<int> xi1 = f0(xvalue<int>()); 22 X<Y> xy1 = f0(xvalue<Y>()); 31 X<int> xi1 = f1(xvalue<int>()); 34 X<Y> xy1 = f1(xvalue<Y>());
|
/external/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/ |
H A D | p5-0x.cpp | 6 template<typename T> T&& xvalue(); 25 // - is an xvalue, class prvalue, array prvalue or function lvalue 28 // xvalue case 29 Base&& base0 = xvalue<Base>(); 30 Base&& base1 = xvalue<Derived>(); 31 int&& int0 = xvalue<int>(); 45 // an xvalue, class prvalue, or function lvalue of type "cv3 48 // xvalue 80 NonCopyable &&nc2 = xvalue<NonCopyable>(); 81 NonCopyable &&nc3 = xvalue<NonCopyableDerive [all...] |
/external/libcxx/test/libcxx/algorithms/ |
H A D | debug_less.pass.cpp | 29 explicit MyType(int xvalue = 0) : value(xvalue) {}
|
/external/libxml2/ |
H A D | xmlschemastypes.c | 4679 * @xvalue: the first value as a string (optional) 4682 * @xvalue: the second value as a string (optional) 4693 const xmlChar *xvalue, 4784 xv = xvalue; 4999 const xmlChar *xvalue, 5006 return(xmlSchemaCompareValuesInternal(xtype, x, xvalue, xws, ytype, y, 4691 xmlSchemaCompareValuesInternal(xmlSchemaValType xtype, xmlSchemaValPtr x, const xmlChar *xvalue, xmlSchemaWhitespaceValueType xws, xmlSchemaValType ytype, xmlSchemaValPtr y, const xmlChar *yvalue, xmlSchemaWhitespaceValueType yws) argument 4997 xmlSchemaCompareValuesWhtspExt(xmlSchemaValType xtype, xmlSchemaValPtr x, const xmlChar *xvalue, xmlSchemaWhitespaceValueType xws, xmlSchemaValType ytype, xmlSchemaValPtr y, const xmlChar *yvalue, xmlSchemaWhitespaceValueType yws) argument
|
Completed in 367 milliseconds