Searched refs:PrivateBase (Results 1 – 3 of 3) sorted by relevance
51 struct PrivateBase : private std::enable_shared_from_this<PrivateBase> { struct82 typedef std::shared_ptr<PrivateBase> APtr; in main()83 APtr a1 = std::make_shared<PrivateBase>(); in main()
354 struct PrivateBase {}; struct355 struct PrivateDerived : private PrivateBase { friend void bad3() throw(); };381 … try { throw PrivateDerived(); } catch (const PrivateBase&) {} // expected-warning {{still throw}} in bad3()396 try { throw (PrivateDerived*)0; } catch (PrivateBase*) {} // expected-warning {{still throw}} in bad8()
94 struct PrivateBase struct96 template<PrivateBase> struct WithPrivateBase {}; // cxx17-error {{cannot have type}} cxx20-error {{…