Thread overview
Remove docs on 'new' and 'delete'?
Apr 21, 2012
Jakob Ovrum
Apr 21, 2012
Andrej Mitrovic
April 21, 2012
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?

-- 
- Alex
April 21, 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...)
April 21, 2012
On 4/21/12, Jakob Ovrum <jakobovrum@gmail.com> wrote:
> 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...)
>

I've made a note about delete being deprecated in the classes page: https://github.com/D-Programming-Language/d-programming-language.org/pull/112

I think you could make your pull request for the memory page to close the circle. :)