Remove docs on 'new' and 'delete'?
Jakob Ovrum
jakobovrum at gmail.com
Sat Apr 21 06:00:45 PDT 2012
On Saturday, 21 April 2012 at 06:55:21 UTC, Alex Rønne Petersen
wrote:
> Someone on IRC just pointed out that the docs for new and
> delete are still present: http://dlang.org/memory.html#newdelete
>
> Considering how often this particular section misleads people,
> and that we're going to deprecate new/delete overloading
> anyway, wouldn't it be a good idea to get rid of that section
> ASAP?
I have a local branch rewriting the memory page to compose with
emplace()/clear() instead; I had a pull request up for a while,
but I closed it because clear() isn't documented yet. I don't
think we should remove that section until its alternative is
fully ready.
(My branch also has some other fixes for that page, maybe I
should send a pull request for those changes separately...)
More information about the Digitalmars-d
mailing list