Should formattedWrite take the outputrange by ref?
Tobias Pankrath
tobias at pankrath.net
Sat Jan 18 15:06:40 PST 2014
On Saturday, 18 January 2014 at 22:58:59 UTC, bearophile wrote:
> monarch_dodra:
>
>> *I* think it should. File a report, and I'll see what I can do
>> about it. The problem with these kinds of things though might
>> be breaking existing code...
>
> Given the frequency of bugs caused by such functions that
> require a pointer to the data, I think that a breaking change
> is the smaller problem.
>
> Bye,
> bearophile
I actually didn't think that a ptr (to output range) would work.
This way we can have best of both worlds and I'm happy with it.
More information about the Digitalmars-d-learn
mailing list