My plan to ease into this is not going well.

At the moment, either remove the nothrow from S.opEquals, or wrap the throwing == with a try...catch(Exception).

On 4/7/2012 4:15 PM, Vladimir Panteleev wrote:
class C
{
    override bool opEquals(Object o) const nothrow
    {
        return true;
    }
}

struct S
{
    C o;

    bool opEquals(ref const S s) const nothrow
    {
        return o == s.o;
    }
}
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to