Function returning pointer to itself

Daniel Murphy yebblies at nospamgmail.com
Sun Feb 5 05:27:37 PST 2012


Return a struct containing a function pointer.

"Tobias Pankrath" <tobias at pankrath.net> wrote in message 
news:jglvvq$7jr$1 at digitalmars.com...
> Is there any better way to write a function that can return a pointer to
> itself than returning void* and cast at call site to the appropiate type?
> 




More information about the Digitalmars-d-learn mailing list