Re: Function returning pointer to itself

2012-02-05 Thread Daniel Murphy
Return a struct containing a function pointer. "Tobias Pankrath" wrote in message news:[email protected]... > 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? >

Function returning pointer to itself

2012-02-05 Thread Tobias Pankrath
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?