title: error is xmemory - c++0x support missing?
body: <p>I have made a winform app where i have used vectors of array[n][n] type using </p>
  
  <pre><code>typedef char myarray[9][9];  
  typedef vector&lt;myarray&gt; array3d; 
  </code></pre>
  
  <p>as far as i have read, this feature is provided in c++0x. I am using visual studio 2010 ultimate is the error in xmemory because of this? The ide is showing no other error exept from this (not even where the above code is) </p>
  
  <pre><code>'Target of operator new()' : array initialization needs curly braces
  </code></pre>
  
  <p>pointing to this code in xmemory</p>
  
  <pre><code>void construct(pointer _Ptr, _Ty&amp;&amp; _Val)
      {   // construct object at _Ptr with value _Val
      ::new ((void _FARQ *)_Ptr) _Ty(_STD forward&lt;_Ty&gt;(_Val));
      }
  </code></pre>
  
  <p>In a code of over 2.5 k lines how do i find where's the problem?</p>
  
  <p>EDIT:</p>
  
  <p>Since the problems seem with vectors here are all the operations that i do with vectors</p>
  
  <pre><code>#include &lt;vector&gt;
  #include &lt;string&gt;
  #include &lt;algorithm&gt;
  
  using namespace std;
  
  typedef char myarray[9][9];
  typedef string string_array[9][9];
  
  void function2(vector&lt;string_array&gt;*my_3d_string_array, int d)
  {
      string::iterator it;
      int j,cl;
      it=find((*my_3d_string_array)[d][j][cl].begin(),(*my_3d_string_array)[d][j][cl].end(),3);
      (*my_3d_string_array)[d][2][3].erase(it);
  }
  
  void function(vector&lt;string_array&gt;*my_3d_string_array, int d)
  {
      (*my_3d_string_array)[d][3][4] = 2;
      function2(my_3d_string_array,d);
  }
  
  int main()
  {
      myarray matrix;
      string_array string_matrix;
  
      std::vector&lt;myarray&gt;      my_3d_array;
      std::vector&lt;string_array&gt; my_3d_string_array;
  
      // fill_matrix(matrix);
      // fill_string_matrix(string_matrix)
  
      int d;
      function(&amp;my_3d_string_array, d); // passing pointer to vector to a function d is the 3rd dimention
  
      my_3d_array.push_back(matrix);
      my_3d_string_array.push_back(string_matrix);
  }
  </code></pre>
  
  <p>is there a stupid error i am making here?</p>