February 05, 2012
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?

February 05, 2012
Return a struct containing a function pointer.

"Tobias Pankrath" <tobias@pankrath.net> wrote in message news:jglvvq$7jr$1@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?
>