Actions
Feature #631
closedImplement OFnew<> et al. and employ them to ensure exception free behavior
Status:
Closed
Priority:
Normal
Assignee:
Jan Schlamelcher
Category:
-
Target version:
-
Start date:
2015-04-16
Due date:
% Done:
100%
Estimated time:
Module:
Operating System:
Compiler:
Description
The memory management functions new, new[], delete and delete[] might trow exceptions under certain circumstances. Implement OFnew and corresponding delete functions that ensure the exception free alternatives are used. Replace existing calls to new and delte with OFnew and OFdelete. See suggested implementation below.
Files
Updated by Marco Eichelberg about 1 year ago
- Status changed from New to Closed
- % Done changed from 0 to 100
std::nothrow is C++98, which we meanwhile assume to be present. No special handling for historic compilers not supporting this is required anymore.
Actions