[Issue 14981] [REG 2.068.0] Missing nothrow attribute in dbgVerifySorted()

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 8 00:35:15 PST 2015


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

bb.temp at gmx.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from bb.temp at gmx.com ---
it looks like it was not fully fixed, still with -debug:

---
import std.algorithm, std.container;

void main()
{
    static bool compare(P a, P b)
    {
        return a.curColumn < b.curColumn;
    }
    Array!P a = make!(Array!P);
    sort!compare(a[]);
}

struct P
{
    int curColumn = 0;
}
---

see http://forum.dlang.org/post/mxmstidgckkacquiasix@forum.dlang.org

--


More information about the Digitalmars-d-bugs mailing list