digitalmars.D.learn - Function returning pointer to itself
- Tobias Pankrath (2/2) Feb 05 2012 Is there any better way to write a function that can return a pointer to...
- Daniel Murphy (3/6) Feb 05 2012 Return a struct containing a function pointer.
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?
Feb 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?
Feb 05 2012