On 04/05/2008, d-bugmail at puremagic.com <d-bugmail at puremagic.com> wrote:
> import std.string;
>
> pragma(msg, toString(42));
>
> The above program fails to compile, with the error message "cannot evaluate
> toString(42) at compile time"
You could try
import std.metastrings;
pragma(msg, ToString!(42));