On Wednesday, 10 July 2013 at 01:23:20 UTC, bearophile wrote:
Meta:
I think there's been mention a couple times of a ctfeWrite
function that can print values at compile-time, but so far
nobody's implemented it.
That's not true. This is the ER:
Don:
Although that's a problem, it's not at all what's happened here.
Right. I presume that several of the patches that are waiting for
some time have some significant problems.
Bye,
bearophile
It seems possible that we can print CTFE variables at compile
time by using string mixes as the code below demonstrates.
The problem is that we can not pass a variable to a template to
create a print routine in the first place. e.g., we can't do
mixin a!(s) if s is a string since s can't be
On Tuesday, 9 July 2013 at 22:49:38 UTC, JS wrote:
It seems possible that we can print CTFE variables at compile
time by using string mixes as the code below demonstrates.
The problem is that we can not pass a variable to a template to
create a print routine in the first place. e.g., we can't
Meta:
I think there's been mention a couple times of a ctfeWrite
function that can print values at compile-time, but so far
nobody's implemented it.
That's not true. This is the ER:
http://d.puremagic.com/issues/show_bug.cgi?id=3952
And the patch:
On Wednesday, 10 July 2013 at 01:10:37 UTC, Meta wrote:
On Tuesday, 9 July 2013 at 22:49:38 UTC, JS wrote:
It seems possible that we can print CTFE variables at compile
time by using string mixes as the code below demonstrates.
The problem is that we can not pass a variable to a template
to
On Wednesday, July 10, 2013 06:24:02 JS wrote:
On Wednesday, 10 July 2013 at 01:10:37 UTC, Meta wrote:
On Tuesday, 9 July 2013 at 22:49:38 UTC, JS wrote:
It seems possible that we can print CTFE variables at compile
time by using string mixes as the code below demonstrates.
The problem