Project

General

Profile

Actions

Feature #631

closed

Implement OFnew<> et al. and employ them to ensure exception free behavior

Added by Jan Schlamelcher over 10 years ago. Updated about 1 year ago.

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

ofnew_proposal.h (1.3 KB) ofnew_proposal.h Jan Schlamelcher, 2015-04-16 11:29
Actions

Also available in: Atom PDF