Path: utzoo!yunexus!hydroesm!jtsv16!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!tank!iitmax!thssvhj From: thssvhj@iitmax.IIT.EDU (vijay hemraj jadhwani) Newsgroups: comp.lang.c++ Subject: Pointer to function returning ? and taking variable number and types of arguments. Keywords: pointer, function, c++ Message-ID: <3810@iitmax.IIT.EDU> Date: 29 May 90 23:00:54 GMT Article-I.D.: iitmax.3810 Organization: Illinois Institute of Technology, Chicago Lines: 16 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