// Phil Ottewell's STL Course - http://www.pottsoft.com/home/stl/stl.htmlx // // Example 8.1 © Phil Ottewell 1997 // // Purpose: // "It's the wrong iterators Gromit, and they're going berserk !" // (Aplogies to Nick Park and Aardmann Animations) #include #include #ifdef _WIN32 using namespace std; # pragma warning(disable:4786) // We know basic_string generates long names :-) #endif int main( int argc, char * argv[]) {return 0;}// Compile and note error messages void techno_trousers( set &x_nasa ) { sort(x_nasa.begin(),x_nasa.end()); // To make this work comment this line out, // min_element(x_nasa.begin(),x_nasa.end());// uncomment this and try again }