std.collection lets rename it into std,ridiculous.

Jonathan M Davis jmdavisProg at gmx.com
Mon Mar 5 21:29:28 PST 2012


On Tuesday, March 06, 2012 06:06:54 F i L wrote:
> Jonathan M Davis wrote:
> > They _are_ documented:
> > 
> > http://dlang.org/phobos/object.html
> > 
> > Though I can see why people would miss them.
> 
> I see. That's odd, though. What are array (specific?) methods
> doing in the Object base class?

They're _not_ in the Object base class. They're just in the same file - just 
like Throwable and Exception are (though oddly, those two aren't documented). 
It makes it so that you don't have to import anything to use them. They're 
_always_ available.

- Jonathan M Davis


More information about the Digitalmars-d mailing list