[Issue 17351] Static const array can't be evaluated at compile time when passed as ref argument

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Apr 29 06:48:04 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=17351

--- Comment #7 from Andrei Alexandrescu <andrei at erdani.com> ---
I meant:

bool __equals(L, R)(L[] lhs, R[] rhs);
bool __equals(L, R, size_t n1)(auto ref L[n1] lhs, R[] rhs);
bool __equals(L, R, size_t n2)(auto ref L[] lhs, auto ref R[n2] rhs);
bool __equals(L, R, size_t n1, size_t n2)(auto ref L[n1] lhs, auto ref R[n2]
rhs);

(There are also constraints on L and R that I omitted.)

--


More information about the Digitalmars-d-bugs mailing list