
24 Mar
2005
24 Mar
'05
7:39 p.m.
"Thorsten Ottosen" <nesotto@cs.auc.dk> writes:
| ...on GCC that uses an overly liberal interpretation of ADL and seems | unlikely to change it anytime soon.
hm...does this compile on your compiler:
No, but I think you have written the wrong test: bleah.cpp:13: error: `template<class T> struct range_size' redeclared as different kind of symbol bleah.cpp:6: error: previous declaration of `int range_size(int)' bleah.cpp: In function `typename range_size<T>::type size(T)': bleah.cpp:21: error: use of class template `template<class T> struct range_size ' as expression -- Dave Abrahams Boost Consulting www.boost-consulting.com