제목 : 17.8.1 예제. 함수에 대한 레퍼런스 : 레퍼런스_함수.cpp : VC++2005
    
    
        
            
                | 
                    글번호:
                 | 
                
                 | 
                
                    289
                 | 
            
            
                | 
                    작성자:
                 | 
                
                 | 
                
                    
                        레드플러스
                        
                        
                    
                 | 
            
            
                | 
                    작성일:
                 | 
                
                 | 
                
                    
                        2007/01/18 오후 3:35:56 
                    
                 | 
            
            
            
                | 
                    조회수:
                 | 
                
                 | 
                
                    
                        5144
                    
                 | 
            
            
        
     
 
    
	
	
    
	#include <iostream>
int Max(int i, int j)
{
    return (i > j) ? i : j;
}
void main()
{
    int a = 123; int b = 456;
    int c = Max(a, b);
    int (&r)(int, int) = Max;
    std::cout << "Max(123,456) : " << c << std::endl;
    std::cout << "r(123,456) : " << r(a, b) << std::endl;
}