Thread overview
[phobos] phobos commit, revision 2035
Sep 19, 2010
dsource.org
Sep 19, 2010
David Simcha
Sep 19, 2010
Shin Fujishiro
September 18, 2010
phobos commit, revision 2035


user: rsinfu

msg:
Fix (std.format): can't format const dynamic arrays.

http://www.dsource.org/projects/phobos/changeset/2035

September 18, 2010
  Yeah, the ripple effects of preventing popFront() on const/immutable
arrays are going to be painful for a while, but it had to be done.  Any
code that relied on it was relying on bugs, and it would be even harder
to do later, once there's more code to fix.

On 9/18/2010 11:39 PM, dsource.org wrote:
> phobos commit, revision 2035
>
>
> user: rsinfu
>
> msg:
> Fix (std.format): can't format const dynamic arrays.
>
> http://www.dsource.org/projects/phobos/changeset/2035
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>

September 19, 2010
Which dynamic arrays are not input ranges? Constant ones? In that case, this function should forward to non-const dynamic arrays of const elements.

Andrei

On 09/18/2010 10:39 PM, dsource.org wrote:
> phobos commit, revision 2035
>
>
> user: rsinfu
>
> msg:
> Fix (std.format): can't format const dynamic arrays.
>
> http://www.dsource.org/projects/phobos/changeset/2035
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
September 20, 2010
Andrei Alexandrescu <andrei at erdani.com> wrote:
> Which dynamic arrays are not input ranges? Constant ones? In that case, this function should forward to non-const dynamic arrays of const elements.

Yes, it's what the added function does.


Shin
September 19, 2010
Oops... Apologies for the slip!

Andrei

On 09/19/2010 04:06 PM, Shin Fujishiro wrote:
> Andrei Alexandrescu<andrei at erdani.com>  wrote:
>> Which dynamic arrays are not input ranges? Constant ones? In that case, this function should forward to non-const dynamic arrays of const elements.
>
> Yes, it's what the added function does.
>
>
> Shin
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos