Template constraints error messages using cputs()

bearophile bearophileHUGS at lycos.com
Sat Aug 7 20:48:53 PDT 2010


BCS:
> How is pragma(msg,) buggy? It does exactly what it's supposed to do. Unless 
> you can point to a deficiency that it has and something that fixes it. I 
> see no reason to consider dumping it.

The thing is is supposed to do is not useful enough, as I have explained in my bug report/enhancement request. And even if you want to keep it, it's buggy & messy anyway, because it accepts as input things that it is not able to digest correctly. It is currently buggy, and I see no reason to keep it when there is a better replacement. I don't understand what people as you see good in pragma(msg), I think you are just mistaken or you have not used it often enough yet. The ctputs I have suggested can go in the std.intrisic module.

Bye,
bearophile


More information about the Digitalmars-d mailing list