This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/9447] [3.4 regression] using Base<T>::member does not work


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From reichelt at gcc dot gnu dot org  2003-07-29 16:07 -------
A similiar example with a different error message is:

----------------------------------------------------------
template <typename T> struct Base {
  T i;
};

template <typename T> struct Derived : public Base<T> {
  using Base<T>::i;
  
  Derived() { i; }
};
----------------------------------------------------------

9447.cc: In constructor `Derived<T>::Derived()':
9447.cc:8: error: statement cannot resolve address of overloaded function

Regards,
Volker


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]