[Issue 8591] New: typecons.RefCounted.refCountedPayload should be nothrow

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 26 10:51:06 PDT 2012


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

           Summary: typecons.RefCounted.refCountedPayload should be
                    nothrow
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody at puremagic.com
        ReportedBy: monarchdodra at gmail.com


--- Comment #0 from monarchdodra at gmail.com 2012-08-26 10:51:04 PDT ---
When autoInit == RefCountedAutoInitialize.no, then:

refCountedPayload() (and "alias refCountedPayload this") should be nothrow.

This can be fixed by declaring two different functions in a static if bloc...
but this may break the auto doc?

Fix is in pull request 736
https://github.com/D-Programming-Language/phobos/pull/736

-- 
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