On Friday, 9 June 2017 at 12:15:50 UTC, Steven Schveighoffer
On 6/7/17 5:47 PM, John Carter wrote:
On Monday, 5 June 2017 at 14:23:34 UTC, Mike Parker wrote:
Seems like you have inspired people...
That is kind of neat. While I can say that D can perform
technically the same feat via pragma(msg, ...) and importing a
file directly (would leave a comment on the blog, but there
isn't a spot for it), the fact that you can execute arbitrary
code in a block at compile time that can use the *actual* i/o
routines you would use at runtime is pretty impressive.
Stefan would have a field day with this power :)
Yeah, it feels C++'y when you need to leave CTFE if you want to
print some value computed in CTFE or use it as a name of file to