On Monday, 1 September 2014 at 22:46:52 UTC, Nordlöw wrote:
Is this a other/newer preferred way to describe the template restriction, using for example __traits(compiles, ...)? Is

is(typeof(...

AFAIK, those produce the same results 99% of the time. The only cases where they differ are borderline buggy.

the fastest way to do this?

Are you talking about constraints, or implementation of safeSkipOver?

BTW: Is there a way to prevent the calls to r1.length and r2.length in this case?

Hum... Are you writing this function because skipOver will actually fail? AFAIK, it shouldn't. We should fix skipOver...

Reply via email to