Searched refs:AutoPtr (Results 1 – 5 of 5) sorted by relevance
128 class AutoPtr { class 129 AutoPtr(AutoPtr &); // cxx98-note {{declared private here}}132 AutoPtr();133 AutoPtr(AutoPtrRef);138 AutoPtr make_auto_ptr();140 AutoPtr test_auto_ptr(bool Cond) { in test_auto_ptr() 141 AutoPtr p1( make_auto_ptr() ); in test_auto_ptr() 143 AutoPtr p; in test_auto_ptr() 147 return AutoPtr(); in test_auto_ptr() [all...]
67 namespace AutoPtr { namespace
89 template<auto*> struct AutoPtr; // #AutoPtr95 TInt<AutoPtr> iap; // expected-error@#TInt {{non-type template parameter '' with type 'auto *' has incompatible initializer of type 'int'}}103 TIntPtr<AutoPtr> ipap;110 TAuto<AutoPtr> aap; // expected-error@#AutoPtr {{could not match 'auto *' against 'auto'}}116 TAutoPtr<AutoPtr> apap;132 TDecltypeAuto<AutoPtr> daap; // expected-error@#AutoPtr {{could not match 'auto *' against 'decltype(auto)'}}
18 typedef auto *AutoPtr; // expected-error{{'auto' not allowed in typedef}} typedef
83 typedef A *AutoPtr; // expected-error {{requires template arguments; argument deduction not allowed in typedef}} typedef