fork download
  1. #include <memory>
  2. class Foo1
  3. {
  4. Foo1();
  5. ~Foo1();
  6. struct Impl;
  7. std::auto_ptr<Impl> m_pimpl;
  8. };
  9.  
  10. struct Foo1::Impl
  11. {
  12. Impl(){}
  13. ~Impl(){}
  14. };
  15.  
  16. Foo1::Foo1(){}
  17. Foo1::~Foo1(){}
  18.  
  19. int main() {}
  20.  
Success #stdin #stdout 0s 3408KB
stdin
Standard input is empty
stdout
Standard output is empty