[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: C++ help



On 21/05/2008, Mike Bird <mgb-debian@yosemite.net> wrote:
> On Wed May 21 2008 19:00:27 Jordi Gutiérrez Hermoso wrote:
>  > The problem seems to be that all of my functions being named f are
>  > somehow colliding with each other.
>
>
> Annotated C++ Reference Manual, Ellis & Stroustrup, Section 13.1
>  (Declaration Matching).  "A function member of a derived class is
>  not in the same scope as a function member of the same name in a
>  base class."

So what's the fix here? Why does a using A::f declaration inside class
B not work?

- Jordi G. H.


Reply to: