One way can be declaring a
private:
operator new(size_t);
in the class. No implementation is needed.
Simply an expression like
new yourclass
dosn't compile since a class new operator is declared but cannot be called, being private.
This is similar as declaring copy and assign as private to disable copy and assignment capabilities produced by default.