July 20, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3195

           Summary: `std.conv` pureness
           Product: D
           Version: future
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: julien@onandon.be


Hello,

     shouldn't most `std.conv` methods be declared pure ?

Cordially,
Julian.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 20, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3195


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |andrei@metalanguage.com
         AssignedTo|nobody@puremagic.com        |andrei@metalanguage.com




-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
August 28, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3195


Andrei Alexandrescu <andrei@metalanguage.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |LATER




--- Comment #1 from Andrei Alexandrescu <andrei@metalanguage.com>  2009-08-28 08:34:52 PDT ---
They should, but many are not automatically checkable. For example, the array-to-array conversion writes to a local temporary and then returns it. Technically that is pure, but the compiler cannot prove that as of this time. I will close this for now.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Top | Discussion index | About this forum | D home