FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
January 01, 2003

Befriending Templates

(Page 4 of 4)
January 2003/Sutter's Mill/Table 3

Table 3: The results of compiling Example 3 on various compilers

Compiler Result Error Message
Borland 5.5 OK  
Comeau 4.3.0.1 OK  
EDG 3.0.1 OK  
Intel 6.0.1 OK  
gcc 2.95.3 OK  
gcc 3.1.1 OK  
gcc 3.2 OK  
Metrowerks 8.2 OK  
MS VC++ 6.0 Error syntax error (just can't handle it)
MS VC++ 7.0 Error friend declaration incorrectly interpreted as declaring a brand-new (and undefined) ordinary non-template function, even though we used template syntax
MS VC++ 7.1 beta OK  

Previous Page | 1 | 2 | 3 | 4
RELATED ARTICLES
No Related Articles
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK