Overloading operator new
<p>I am overloading operator new as below</p>

<pre><code>class A{
public:
void* operator new(size_t) { return (void*) Buf;}
};
</code></pre>

<p>I am getting "declaration of operator new as non-function error" when I try to compile. Could someone help me with this?</p>

<p>Thanks</p>
