[Issue 16501] New: packed ndslices does not compile

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Sep 16 16:16:51 PDT 2016


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

          Issue ID: 16501
           Summary: packed ndslices does not compile
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: ilyayaroshenko at gmail.com

unittest
{
    import std.experimental.ndslice;
    alias sab = sliced!("a", "b");
    auto sl = sab(new double[12], new double[12], 3, 4);
    auto psl = sl.pack!1;
}

--


More information about the Digitalmars-d-bugs mailing list