betterC question

Adam D. Ruppe destructionator at gmail.com
Thu Nov 19 00:08:59 UTC 2020


On Thursday, 19 November 2020 at 00:07:12 UTC, Dibyendu Majumdar 
wrote:
> int function() fp = test;

This tries to *call* the function test and assign its return 
value to fp.

You want &test to get the address.


More information about the Digitalmars-d-learn mailing list