error C2784: ‘bool std::operator <(const std::_Tre

Error 42, Error C2784: ‘bool STD ::operator < (const std::_Tree< _Traits> & ,const std::_Tree< _Traits> &) ‘ : could not deduce template argument for ‘const std::_Tree< _Traits> & ‘From ‘const STD :: String’ d:\ Program files_x86\ Microsoft Visual Studio 9.0\ VC \include\ Functional 143 Test

If the above error occurs when using STL container insert methods such as map, and there are no syntax errors elsewhere, it is likely that no header #include &lt is imported. string>

Read More: