error1.cpp

We use cookies. Read the Privacy and Cookie Policy

error1.cpp

#include ‹stl.h›

// Compile this code without defining the symbol OS_USE_EXCEPTIONS.

int main() {

 vector‹int› v;

 v.pop_back(); // Generates an empty object error.

 return 0;

}