"Best" way of handling a receive()d message with a class instance.

Francesco Cattoglio francesco.cattoglio at gmail.com
Thu Jan 23 08:00:24 PST 2014


Sorry, MY BAD!

You can just write
auto handler = new Handler;
receive(&handler.MyFunc);

Somehow when I tried this before it failed to compile, and I 
thought I had to go through loops for achieving this.


More information about the Digitalmars-d-learn mailing list