fork(2) download
  1. struct widget
  2. {
  3. widget(int) {}
  4. widget(widget const&) = delete;
  5. };
  6.  
  7. int main()
  8. {
  9. int x = 10;
  10. // widget w = x; // doesn't compile
  11. widget w = {x};
  12. }
Success #stdin #stdout 0s 2848KB
stdin
Standard input is empty
stdout
Standard output is empty