title: Error operator new[] : function does not take 1 arguments
body: <p>I have code that overloads operator <code>new</code>. The code below works fine under Linux (gcc4x) but not Windows (Visual C++ 2008 Express Edition)</p>
  
  <p>The code under Visual Studio 2008 Express Edition reports </p>
  
  <blockquote>
    <p>error C2660: operator new[] : function does not take 1 arguments</p>
  </blockquote>
  
  <pre><code>class dummy{};
  void* operator new[] (size_t size, dummy gcp)
  {
    return ::operator new[](size);   //error
  }
  
  int main()
  {
      dummy dummyobj;
      dummy* ptr = new (dummyobj) dummy[5];
      return 0;
  }
  </code></pre>