DMD 1.031 and 2.015 releases

BCS ao at pathlink.com
Thu Jun 19 11:49:18 PDT 2008


Reply to Jason,

> dennis luehring Wrote:
> 
>> what are difference between Template Constraints
>> and static asserts?
> Besides speed of implementation, I don't think there's much of a
> difference while SFINAE is in place.  I'd love to see SFINAE removed
> and start relying on the power of D's template matching.  I know
> SFINAE is a staple of C++, but I don't think it's really needed in D.
> I submitted a request in D's issue tracker, but there has been no
> response from anyone that'd strongly influence D's design.
> 

I don't think SFINAE is effected by static assert. I think the assert is 
always used and always aborts the compile on failure. (Correct me if I'm 
wrong)




More information about the Digitalmars-d-announce mailing list