Writing/Creating files at compile-time

jmh530 via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 9 07:38:27 PDT 2015


On Sunday, 9 August 2015 at 14:00:55 UTC, Rikki Cattermole wrote:
>
> I'm actually at the point where I believe the addition of 
> string import was a bad one. No. I prefer preprocessing into a 
> D file first.
> It irks me, you have to be pretty careful with them, but at 
> least a preprocessed file you know _exactly_ where all files 
> need to be for CT.

Could you provide an example of your point about being careful 
with D's imports? I'm not sure I've had this problem.

I'm happy to admit I like D's imports, especially compared with 
C++. Is your ideal alternative something like C's processor or 
something else?




More information about the Digitalmars-d mailing list