title: Rapidxml is not compiling on Visual Studio 2010. What am I doing wrong?
body: <p>I am working on switching XML parsers from TinyXml to RapidXml in our codebase.</p>
  
  <p>However, RapidXml does not seem to compile with Visual Studio 2010.</p>
  
  <p>Basically, in the header file I am doing</p>
  
  <pre><code>#define RAPIDXML_NO_EXCEPTIONS
  #include "RapidXml/rapidxml.hpp"
  using namespace rapidxml;
  </code></pre>
  
  <p>And in the implementation</p>
  
  <pre><code>xml_document&lt;&gt; xmlDoc;
  xmlDoc.parse&lt;0&gt;(filestring);
  </code></pre>
  
  <p>And right there, on my second line of code, Visual Studio says</p>
  
  <blockquote>
    <p>c:\users\name\development\rapidxml\rapidxml.hpp(420): error C2061: syntax error : identifier 'memory'<br>
    1>          c:\users\name\development\rapidxml\rapidxml.hpp(418) : while compiling class template member function 'rapidxml::xml_node&lt;> *rapidxml::memory_pool::allocate_node(rapidxml::node_type,const Ch *,const Ch *,size_t,size_t)'<br>
    1>          with<br>
    1>          [<br>
    1>              Ch=char<br>
    1>          ]<br>
    1>          c:\users\name\development\rapidxml\rapidxml.hpp(1359) : see reference to class template instantiation 'rapidxml::memory_pool' being compiled<br>
    1>          with<br>
    1>          [<br>
    1>              Ch=char<br>
    1>          ]<br>
    1>          c:\users\name\development\xmlresource.cpp(70) : see reference to class template instantiation 'rapidxml::xml_document&lt;>' being compiled </p>
  </blockquote>
  
  <p>It is the end of a long coding day and this is about it for today. Do you knowledgeable people out there have any idea what I am doing wrong here?</p>