fork(2) download
  1. #include <memory>
  2. using namespace std;
  3. class foo
  4. {
  5. public:
  6. unique_ptr<int> p;
  7. };
  8. int main()
  9. {
  10. foo a, b;
  11. a = move(b);
  12. return 0;
  13. }
Success #stdin #stdout 0s 3464KB
stdin
Standard input is empty
stdout
Standard output is empty