title: std::multimap compile errors
body: <p>I am trying to use multimap for the first time but my app will not compile. TIA Paul..</p>
  
  <pre><code>// file dept.h
  
  typedef std::multimap &lt;CString, std::map&lt; CString, CString&gt; &gt; _DeparmentRecord;  // also tryied replacing CString with LPCWSTR
  
  _DeparmentRecord DeparmentRecord;
  
  
  // file dept.cpp
  
  DWORD CIni::AddNameValue(LPCWSTR Section, LPCWSTR Name, LPCWSTR Value)
  {
  
  DeparmentRecord.insert(std::make_pair ( Section, std::make_pair(Name, Value)) );  &lt;-- error here
  
  }
  </code></pre>
  
  <p>c:\program files\microsoft visual studio 9.0\vc\include\utility(57) : error C2664: 'std::map&lt;_Kty,_Ty>::map(const std::less&lt;_Ty> &amp;)' : cannot convert parameter 1 from 'const std::pair&lt;_Ty1,_Ty2>' to 'const std::less&lt;_Ty> &amp;'</p>
  
  <p>1>        with
  1>        [
  1>            _Kty=CString,
  1>            _Ty=CString
  1>        ]
  1>        and
  1>        [
  1>            _Ty1=LPCWSTR,
  1>            _Ty2=LPCWSTR
  1>        ]
  1>        and
  1>        [
  1>            _Ty=CString
  1>        ]
  1>        Reason: cannot convert from 'const std::pair&lt;_Ty1,_Ty2>' to 'const std::less&lt;_Ty>'
  1>        with
  1>        [
  1>            _Ty1=LPCWSTR,
  1>            _Ty2=LPCWSTR
  1>        ]
  1>        and
  1>        [
  1>            _Ty=CString
  1>        ]
  1>        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
  1>        c:\dev\projects\migrator\jobbuilder\jobbuilder\ini.cpp(55) : see reference to function template instantiation 'std::pair&lt;_Ty1,_Ty2>::pair>(const std::pair> &amp;)' being compiled
  1>        with
  1>        [
  1>            _Ty1=const CString,
  1>            _Ty2=std::map
  1>        ]</p>
  
  <p>========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</p>