Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-03-24 14:39:22


"Thorsten Ottosen" <nesotto_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk