Menu

#483 Class browser confused about similar members

open
nobody
5
2012-09-26
2005-01-06
mewever
No

Class browser seems to have a problem identifying some
similar members. Members called "put" appear in two
different classes and are overloaded with the same
prototypes. The members appear correctly in the first
class (first alphabetically and first declared) but do not
appear in the other class. Instead, they appear as
global functions. Both of these members are prototyped
in the class definition and implemented later in the code.

Source code is attached.

Discussion

  • mewever

    mewever - 2005-01-06

    c++ source code

     
  • mewever

    mewever - 2005-01-06

    Logged In: YES
    user_id=1191707

    I noticed that I was incorrect about prototyping the
    members. The members were declared inline in the first class
    and prototyped in the second class. When I changed the
    first class to prototype the members and implement them
    later, the class browser began behaving properly. So it
    appears the problem is due the fact the members with the
    same name were declared inline in one class and not in
    another class.

     

Log in to post a comment.

Auth0 Logo