title: Compiler shouts The text ">" is unexpected C++ XLC
body: <p>I have declared a function in my headerfile. </p>
  
  <p>I have no clue why but the compiler moans about this line and says <code>"The Text "&gt;"</code> is unexpected. </p>
  
  <p>I'm using AIX 5.3 and a XLC/VAC Compiler. Maybe there is also something wrong with my definition of the function, but i assumed that the map has to know what the types are that it holds to work. </p>
  
  <p>The problematic line is printed below.</p>
  
  <pre><code>std::map&lt;std::string , std::list&lt;std::pair&lt;int, Event*&gt; &gt; * &gt; * functionX(Customer * id, std::multimap&lt;string, CustomerDetails&gt; * p_mapWithCustomers);
  </code></pre>
  
  <p>I assume that this is a correct declaration of the function</p>
  
  <p>As proposed below i have defined typedefs, unfortunately this has only shiftet the problem, now i get the same error on the line of the typedefs.</p>
  
  <pre><code>typedef std::pair&lt;int, Event* &gt; pair_event_t;
  typedef std::map&lt;std::string, pair_event_t * &gt; map_rule_t;
  </code></pre>