3 ms·
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 &oth
by Psychlist 5y 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)