CompileTime performance measurement

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 3 21:58:32 PDT 2016


On Sunday, 4 September 2016 at 04:35:15 UTC, rikki cattermole 
wrote:
> void writeln(T...)(T args) {
>   if (__ctfe){
>       debug {
>           __ctfeWriteln(args);
>       }
>   } else {
>       // ... current implementation
>   }
> }

That will not work.
The signature is void __ctfeWriteln(const string s)


More information about the Digitalmars-d mailing list