[Issue 10368] `immutable pure` constructors must not be allowed for mutable construction

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 15 14:53:13 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10368


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg at gmx.com> 2013-06-15 14:53:13 PDT ---
It's fine as long as the constructor is strongly pure, but as the example
shows, weak purity isn't enough.

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


More information about the Digitalmars-d-bugs mailing list