Help from the compiler when debugging failing template constraints - a pull request

Artur Skawina via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 14 05:42:11 PDT 2015


On 10/14/15 10:26, Atila Neves via Digitalmars-d wrote:
> On Monday, 28 September 2015 at 20:25:21 UTC, Atila Neves wrote:
>> I've mentioned this many times before: template constraints are like unittest blocks with asserts in D: great that they're built-in easy to use. But when they fail, there's no help in figuring out why.
>>
>> [...]
> 
> Huh, I thought this'd get more interest. I guess I have weird priorities! :P

No, it's probably just that the people interested in this would
prefer a /proper/ solution, hence don't consider ad hoc hacks to
be cost effective, but actually counterproductive.

artur


More information about the Digitalmars-d mailing list