Version of implementation for docs
Jacob Carlborg
doob at me.com
Mon Aug 12 05:08:59 PDT 2013
On 2013-08-11 06:30, JS wrote:
> Can we get the version of implementation/addition of a feature in the
> docs. e.g., if X feature/method/library is added into dmd version v,
> then the docs should display that feature.
>
> For example, when I go to http://dlang.org/phobos/object.html I see
> tsize. When I try to use it on my class I dmd says it doesn't exist. I'm
> using 2.063. If I new when tsize was implemented I would know if it is
> something I am doing wrong or if I'm just using a version where it isn't
> implemented.
>
> const pure nothrow @property @safe size_t tsize(); (v 2.063)
>
> or whatever.
I like the idea. The documentation for API's from Apple contains the
version a method/class was added and when something got depreciated,
example:
http://developer.apple.com/library/Mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTableView_Class/Reference/Reference.html
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list