Hacker News new | ask | show | jobs
by Psychlist 1705 days ago
clang-tidy will ask that you put in the full set.

  Foo() = delete;
  Foo(const Foo& orig) = delete;
  Foo(Foo&& orig) = delete;
  Foo operator=(const Foo &other) = delete;
  Foo operator=(Foo &&other) = delete;
(add const to taste)