Bug 244684

Summary: No code completion for Boost::bimap< T1, T1>
Product: [Applications] kdevelop Reporter: Leo Franchi <lfranchi>
Component: Language Support: CPP (old)Assignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: cponnapalli
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.0.0
Sentry Crash Report:
Attachments: Code completion shown correctly for Boost::bimap< T1, T1> in Kdevelop 5

Description Leo Franchi 2010-07-15 00:51:53 UTC
Version:           SVN (using Devel) 
OS:                Linux

I have no code completion when using boost::bimap. Here's a simple testcase:

boost::bimap< int, int > map;
map.left.<autocomplete>

the autocompletion is just kate-completion, not the intelligent kdevelop c++ autocompletion. 


Reproducible: Always
Comment 1 Milian Wolff 2010-12-15 19:24:03 UTC
still present in kdev 4.2:

#include <boost/bimap/bimap.hpp>

class abc {
  public:
    int getNum() {
      return 0;
    }
};

int main() {
  boost::bimaps::bimap< abc, abc > map;
  map.left.;

}
Comment 2 chaitanya srinivas ponnapalli 2016-05-16 06:50:07 UTC
Created attachment 99009 [details]
Code completion shown correctly for Boost::bimap< T1, T1> in Kdevelop 5

Reproduced the code sample given.
Kdevelop 5 does show the autocompletion while using boost::bimap package.
I have not entered any starting characters(so as to avoid kate-completion) for map.left. Kdevelop correctly shows all the autocompletion suggestions.
Attached the screenshot for reference.