April 18, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9956

           Summary: hasElaborateAssign trait does not work with static
                    arrays
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: pull
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: andrej.mitrovich@gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-04-18 05:30:59 PDT ---
hasElaborateDestructor works with static arrays, but not hasElaborateAssign:

import std.traits;

void main()
{
    static struct S  { void opAssign(S) {} }
    static struct S3 { S s; }
    static assert(hasElaborateAssign!(S[1]));  // fails
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 18, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9956


Andrej Mitrovic <andrej.mitrovich@gmail.com> changed:

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


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich@gmail.com> 2013-04-18 05:31:06 PDT ---
https://github.com/D-Programming-Language/phobos/pull/954

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------