Implementing Template Restrictions in Different Way

"Nordlöw" via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 2 05:21:32 PDT 2014


On Tuesday, 2 September 2014 at 12:14:01 UTC, monarch_dodra wrote:
> In that case, I'm not sure what you mean by "fastest" in the 
> context of "constraints", which are compile-time.

With performance I mean compilation speed.

> I think so yes. That's the "R/E" version though. Is the "R/R" 
> version also subject to this issue?

No, it's only the R/E that lacks emptyness check.

PR: https://github.com/D-Programming-Language/phobos/pull/2481


More information about the Digitalmars-d-learn mailing list