I\'d like to ensure my RAII class is always allocated on the stack.
How do I prevent a class from being allocated via the \'new\' operator?
In my particular situation, if the lock isn't necessary the mutex doesn't even exist, so I think that approach would be rather harder to fit.
I guess the thing I'm really struggling to understand is the justification for prohibiting creation of these objects on the free store.