The source program: #include #include #include const int values[] = { 1,2,3,4,5 }; const int NVALS = sizeof values / sizeof (int); int main() { using namespace std; typedef map valmap; valmap m; for (int i = 0; i < NVALS; i++) m.insert(make_pair(values[i], pow(values[i], .5))); valmap::iterator it = 100; // error valmap::iterator it2(100); // error m.insert(1,2); // error return 0; } First, an unfiltered run using Metrowerks CodeWarrior 8 mwcc command-line tool: d:\src\cl\demo>mwcc rtmap.cpp ### mwcc.exe Compiler: # File: rtmap.cpp # ------------------ # 19: valmap::iterator it = 100; // error # Error: ^ # illegal implicit conversion from 'int' to # 'std::__tree, std::map, std::allocator>>::value_compare, std::allocato r>>::__generic_iterator<0>' ### mwcc.exe Compiler: # 20: valmap::iterator it2(100); // error # Error: ^ # function call '[std::__tree, std::map, std::allocator>>::value_compare , std::allocator>>::__generic_iterator<0>].__generi c_iterator(int)' does not match # 'std::__tree, std::map, std::allocator>>::value_compare, std::allocato r>>::__generic_iterator<0>::__generic_iterator()' # 'std::__tree, std::map, std::allocator>>::value_compare, std::allocato r>>::__generic_iterator<0>::__generic_iterator(cons t std::__tree, std::map , std::allocator>>::value_compare, std::allocator>>::__generic_iterator<0> &)' # 'std::__tree, std::map, std::allocator>>::value_compare, std::allocato r>>::__generic_iterator<0>::__generic_iterator(std: :__tree, std::map, std: :allocator>>::value_compare, std::allocator>>::node *)' Errors caused tool to abort. And a filtered run using MWCW-specific Decryptor: d:\src\cl\demo>cwfilt rtmap.cpp BD Software STL Message Decryptor Release .95 for MWCW (9/05/2002) ### mwcc.exe Compiler: File: rtmap.cpp ------------------ 19: valmap::iterator it = 100; // error Error: ^ illegal implicit conversion from 'int' to 'iter' ### mwcc.exe Compiler: 20: valmap::iterator it2(100); // error Error: ^ function call 'iter(int)' has no matches [STL Decryptor: Suppressed 3 candidate lines] STL Decryptor reminder: Use /cand:L to see all suppressed candidates. Errors caused tool to abort. [Note: demo runs were performed in an 80-column console window with switches set for the most terse messages possible. More detail is available by tailoring the Decryptor's options.]