D on next-gen consoles and for game development

Jonathan M Davis jmdavisProg at gmx.com
Fri May 24 21:44:22 PDT 2013


On Saturday, May 25, 2013 04:40:58 Brad Anderson wrote:
> On Friday, 24 May 2013 at 19:44:23 UTC, Jonathan M Davis wrote:
> > We already have stuff like format vs formattedWrite where one
> > allocates and the
> > other takes an output range. We should adopt that practice in
> > general. Where
> > possible, it should probably be done with an overload of the
> > function, but
> > where that's not possible, we can simply create a new function
> > with a similar
> > name.
> 
> Sounds good to me. Should the overloads return the output range
> or void?

Right now, all of the functions that we have like that don't return the output 
range, but I don't know that it would be a bad idea if they did.

- Jonathan M Davis


More information about the Digitalmars-d mailing list