ok but now when i am doing
map<CString, double> m_DataMap(CString, double); its not generating any warnings anymore ..
but when i try to insert an element into the map like ..
CString str = "AA";
m_DataMap[str] = 1.2;
then it gives me compilation error saying ..
c:\vss\appcode\pricing\branches\may06_version7.40\ mbscollection\ml2pricingmodel.cpp(483) : error C2677: binary '[' : no global operator defined which takes type 'class CString' (or there is no acceptable conversion)
Error executing cl.exe.
why is this now ?