Listing 1: A program that generates a lengthy STL error message when compiled in Visual C++ (see Figure 1)
// // error.cpp: // A bad call to the insert() method // of a multimap... // ...and the fun begins! // #include <map> #include <string> int main() { using namespace std; multimap<string, int> mm; mm.insert(0); return 0; } End of Listing