Suppose I have a class that I want to make sure my compiler (GCC in this case) doesn\'t synthesize any constructors or assignment methods for. I\'ve found one way to do this
The classical way is to declare them, but never implement. Most people would expect that declaration to be private or protected.
In C++0x, you can explicitly delete them. Which does pretty much the same thing, but is way nicer to read.