The problem is that with std::map, the [] operator will insert the key if it is not already in the map. I.e., the [] operator cannot be called on a const map.
Look here for more info:...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Peter_B Search: Search took 0.03 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |