I was wondering what does the delete keyword do in C++. I've seen someone delete the constructor function/method of a class like this:
Foo()=delete;
What does this (keyword) do and when/how can I use it?
I was wondering what does the delete keyword do in C++. I've seen someone delete the constructor function/method of a class like this:
Foo()=delete;
What does this (keyword) do and when/how can I use it?