[Insight-developers] serious problem with new[] on MSVC++

Charl P. Botha c.p.botha at ewi.tudelft.nl
Mon, 03 May 2004 23:53:41 +0200


Brad King wrote:
> I've modified ImportImageContainer to throw itk::MemoryAllocationError 
> when memory allocation fails.  We may want to change it to 
> std::bad_alloc, but this approach requires fewer catch blocks in ITK 
> programs.  Most of the tests catch only itk::ExceptionObject (and 
> subclasses).

Excellent, thank you Brad!

Best regards,
Charl

-- 
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/