On Jun 8, 2011, at 1:47 PM, John McCall wrote: > > On Jun 7, 2011, at 1:15 PM, Marshall Clow wrote: > >> Implements the new [] and delete [] functionality. >> With tests. >> >> Comments please. >> I'm not 100% sure that the exception handling is correct - so that's a good >> place to look ;-) > > The exception handling is not correct: you should be using cleanups instead > of try/catch. The best way to do this is with an RAII object which is > explicitly disabled on the non-exception path.
Here are modified files (with more tests, too!) Comments? -- Marshall
cxa_vector.cpp
Description: Binary data
test_vector1.cpp
Description: Binary data
test_vector2.cpp
Description: Binary data
test_vector3.cpp
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
