[comp.lang.c++] Pointer to function returning ? and taking variable number and types of arguments.

thssvhj@iitmax.IIT.EDU (vijay hemraj jadhwani) (05/30/90)

Hi folks,
	Here's a question for c++ guys.  I am trying to find out if there
is a way, to declare, in c++, a pointer to a function returning a value
which has a generic type and also the function which has a generic proto-
type declaration (i.e. the function can take variable number of arguments
and the type of arguments can be any legally allowed type)?
	Expressed in other words, is it possible to declare as follows -

	void * (* function_name)(...);

Note that even the above declaration (if legal) has one restriction -
	function pointed to by function_name should return a pointer.
Thanks in advance for any suggestions. Please e-mail me as I do not
read this newsgroup frequently.

Vijay