rvalue references
Namespace via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jun 5 15:29:43 PDT 2015
On Friday, 5 June 2015 at 21:31:22 UTC, Namespace wrote:
> I start working on a Pull
> (https://github.com/D-Programming-Language/dmd/pull/4717), but
> it fails the first check. The reason seems to be this:
> https://github.com/D-Programming-Language/dmd/pull/4717/files#diff-ffafa03255a57832dd09031af6cb915dR5945
> I guess that this error happens because I cannot distinguish
> between template and non template auto ref. Does anyone have an
> idea?
Hmm, the only problematic code is std.algorithm.mutation.swap on
line 1956 - 1959 which calls doesPointTo from std.exception which
is nothrow pure and @nogc, but shouldn't.
Without it, everything works.
More information about the Digitalmars-d
mailing list