On Thursday, 20 August 2015 at 22:07:10 UTC, John Carter wrote:
https://twitter.com/yukihiro_matz/status/634386185507311616

Pity that concepts looks to be a very painful syntax for expressing what D does so clearly.

One big difference is that C++1z concepts are supposed to allow looking for external functions, not only methods. That would require some kind of principled hijacking of templates in Dlang (or else the constraint template would keep looking for the functions, called by ufcs, either inside the type of in the templates declaration position). I haven't managed to work that out yet except by using mixins :/

Reply via email to