Bug 8647 – Invalid specification of destroy function
Status
RESOLVED
Resolution
INVALID
Severity
trivial
Priority
P2
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-13T03:37:00Z
Last change time
2012-09-13T03:39:57Z
Assigned to
nobody
Creator
maxim
Comments
Comment #0 by maxim — 2012-09-13T03:37:55Z
Object page http://dlang.org/phobos/object.html#destroy describes destroy() as a function having prototype "const void destroy(void* p);", however it is a templated function with several constraints, none of which match declared prototype.
Comment #1 by alex — 2012-09-13T03:39:57Z
No, you are looking at the wrong destroy. Do a search for destroy on the page and you'll find the right one.
It's a little unfortunate that Ddoc isn't smarter than this.