Bug 22647

Summary: const ignored in method signature
Product: [Applications] kdevelop Reporter: Walter F. J. Mueller <w.f.j.mueller>
Component: kdevelop 2.x (obsolete)Assignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.4   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Walter F. J. Mueller 2001-03-18 18:49:36 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           1.4 (using KDE 2.1.0 )
Severity:          normal
Installed from:    Debian Package 4:2.1-final-0.potato1 (2.2)
Compiler:          gcc version 2.95.2 20000220 (Debian GNU/Linux)
OS:                Linux 2.2.18pre21 i686
OS/Compiler notes: 

It seems that the const'ness of a method is ignored.
If there are two methods like
  T&        operator[](int i);
  const T&  operator[](int i) const;
the class browser lists two methods under
  [](int i)
and obviously ignores the const'ness which is part
of the function signature. Clicking on both entries
leads to the same definition.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 John Firebaugh 2002-09-23 01:35:27 UTC
Fixed in CVS