On 1 June 2011 23:01, eric wrote: > int main() > { > try { > push_a_lot(); > } > catch (bound_err& err) { > std::cerr << "Error: Bounds exceeded\n"; > std::cerr << "Reason: " << err.what << '\n'; This should be err.what() not err.what
On 1 June 2011 23:01, eric wrote: > int main() > { > try { > push_a_lot(); > } > catch (bound_err& err) { > std::cerr << "Error: Bounds exceeded\n"; > std::cerr << "Reason: " << err.what << '\n'; This should be err.what() not err.what