delegate as memeber

Stewart Gordon smjg_1998 at yahoo.com
Sat Feb 25 06:32:21 PST 2012


On 21/02/2012 17:46, Jacob Carlborg wrote:
> On 2012-02-21 16:55, deadalnix wrote:
<snip>
> You can implement a static opCall and use that instead of the constructor.

But you don't have to call a static opCall.  You can just declare a struct instance 
without any initialisation.  Presumably half the point is to ensure that exceptionBuilder 
is still initialised in such cases.

Stewart.


More information about the Digitalmars-d-learn mailing list