DIP74: Reference Counted Class Objects

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Feb 26 14:04:36 PST 2015


On 2/26/15 2:03 PM, Brian Schott wrote:
> The DIP states that "Any attributes are allowed on these methods.", but
> later states "The complexity of this code underlies the importance of
> making opAddRef and especially opRelease nothrow". Should the DIP
> require that these two functions be marked nothrow?

It's a liberty still left to user code. -- Andrei


More information about the Digitalmars-d mailing list