On Tue, 13 Jul 2010 18:30:26 +0300, Andrei Alexandrescu
<[email protected]> wrote:
I agree deprecation shouldn't be taken lightly, but delete is not a
fundamental operator - it could and should be defined at most as a
simple function.
delete is the antipod of new. With this logic, I don't see why new
shouldn't be replaced with a function as well - after all, all it does is
allocation and initialization, as opposed to delete's destruction and
deallocation.
--
Best regards,
Vladimir mailto:[email protected]