------- Comment #1 from pinskia at gcc dot gnu dot org  2007-08-11 18:50 -------
The trunk (and 4.0.2) gives:
t.cc: In member function 'size_t A<T>::operator()(const T&) [with T = B]':
t.cc:19:   instantiated from here
t.cc:8: error: invalid cast from type 'const B' to type 'const size_t'


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33051

Reply via email to