Simple and effective approaches to constraint error messages

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 26 06:12:28 PDT 2016


On Monday, 25 April 2016 at 17:52:58 UTC, Andrei Alexandrescu 
wrote:
> It's been long asked in our community that failing template 
> constraints issue better error messages. Consider:
>
> [...]

I still prefer static inheritance. Having said that, I like the 
pragma(err) thing in the template constraint.

Atila


More information about the Digitalmars-d mailing list