 
            
            
            
            
                16 Apr
                
                    2007
                
            
            
                16 Apr
                
                '07
                
            
            
            
        
    
                5:23 p.m.
            
        On Mon, 16 Apr 2007 16:33:23 +0200, Marco <mrcekets@gmail.com> wrote:
Another question: given the following functions:
// #1 template< typename T > void f(T ) {}
// #2 template< typename T, typename... Args > void f(T, Args... ) {}
the function call f(1,2) is it ambiguous ? if it isn't, which is the function called ? #1 because it's more specialized ? (only a guess)
sorry, I mean f(1), obviously f(1,2) it's not ambiguous at all ! Marco -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/