--- Comment #5 from gray_song at yahoo dot com 2007-12-05 06:01 ---
(In reply to comment #4)
> No, I mean add the following statement:
> using A::count;
>
> to the class.
>
Thank you very much for replying. I tried to add the "using A::count;" to cl
--- Comment #3 from gray_song at yahoo dot com 2007-12-04 23:40 ---
(In reply to comment #2)
> The error is correct. The count without any arguments hide the one with (the
> other way is true too). You need to add using A::count in the class C and
> using C::count i
--- Comment #1 from gray_song at yahoo dot com 2007-12-04 21:01 ---
If change C::count(int l) definition to
C::count_c(int l)
It works fine.
--
gray_song at yahoo dot com changed:
What|Removed |Added
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gray_song at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34338