How do i find a list of the methods Object implements, or maybe just locate the 'write' method?
Adam D. Ruppe
destructionator at gmail.com
Tue Nov 7 21:32:26 UTC 2017
On Tuesday, 7 November 2017 at 21:25:00 UTC, dan wrote:
> I looked in my distribution's object.d (debian stretch, gdc, in
Did you import std.stdio in the file?
If so, it is calling the std.stdio.write on the object (this is
called UFCS, uniform function call syntax, the language allows
you to call any free function in scope with obj.foo by rewriting
it to foo(obj))
> I then thought that i should just get an authoritative list of
> Object's methods, and hope something was documented there, but
> my searching for a list of for this also failed.
http://dpldocs.info/experimental-docs/object.Object.html
More information about the Digitalmars-d-learn
mailing list