Maxim Fomin <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #8 from Maxim Fomin <> 2012-09-21 09:18:39 PDT 
(In reply to comment #7)
> Wait.
> @disable this();
> _is_ the way to disable init. If
> @diasble this();
> was used, then there should be no init property. That's the entire point of
> @disable this;

Why? .init is a property which currently (2.060) can be hijacked. Dmd seems not
to generate an implicit constructor function, it just initialize raw memory
with default values when it faces S(). This is why disabling any function
(ctors too) doesn't prevent it from creating S object.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to