dmd 1.069 and 2.054 release
Stephan
spam at extrawurst.org
Tue Jul 12 06:50:18 PDT 2011
On 12.07.2011 15:10, Trass3r wrote:
> In general good work!
>
> But again phobos makes a simple std.string function unCTFEable.
> Now I have to use an ugly hack to achieve something as simple as toUpper:
>
> mixin( (){char[] tmp = "...".dup; toUpperInPlace(tmp); return tmp;}() );
Damn i found that too and wanted to mention it in the dmd-beta list b4
release. But the workaround is simple. At least this one was fixed:
http://lists.puremagic.com/pipermail/dmd-beta/2011-July/000773.html
Cause that was making cl4d with all its string mixins pretty much
unbuildable at all.
More information about the Digitalmars-d-announce
mailing list