std.typecons.Proxy requires a nothrow destructor and toHash?

Marc Schütz via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 3 04:10:01 PST 2016


On Wednesday, 3 February 2016 at 10:16:56 UTC, Saurabh Das wrote:
> Why doesn't this work? Is it a requirement that a proxied 
> struct must have a nothrow destructor and toHash?

It used to work in 2.066.1; bisecting points to this PR:
https://github.com/D-Programming-Language/phobos/pull/3043

When bisecting between 2.066 and 2.067, there are other 
candidates:
https://github.com/D-Programming-Language/phobos/pull/3042
https://github.com/D-Programming-Language/dmd/pull/4459
https://github.com/D-Programming-Language/druntime/pull/1188

Unlikely:
https://github.com/D-Programming-Language/phobos/pull/3001
https://github.com/D-Programming-Language/phobos/pull/3043
https://github.com/D-Programming-Language/dmd/pull/4452
https://github.com/D-Programming-Language/dmd/pull/4463

Please file a bug report at:
https://issues.dlang.org/enter_bug.cgi


More information about the Digitalmars-d-learn mailing list