Aravindhan Krishnan <[EMAIL PROTECTED]> wrote:                                  
Can a reference be created for a function..?
 
 Say..
         int (&fp) (int)         for    int fun(int);
 
 Does it have any advantage over function pointers..?
 
 thanks
 Aravindhan.
 
     
                       
Hi Aravindhan,

Yes you can create a reference to a function.
AFAIK, there is no advantage of references to a function, they work like a 
function pointer

--
Satish

Reply via email to