Bug 67458 - No code completion on typecasts
Summary: No code completion on typecasts
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-07 00:04 UTC by Torben H. Nielsen
Modified: 2008-06-29 16:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torben H. Nielsen 2003-11-07 00:04:33 UTC
Version:           cvs HEAD (using KDE KDE 3.1.3)
Installed from:    Compiled From Sources

it would be nice if the code completion worked on type casts like this one:

dynamic_cast<ChildClass*>(parentPointer)->
Comment 1 Andreas Pakulat 2006-12-30 16:11:18 UTC
Still not supported and I don't think it will be, as this would mean we'd have to do runtime-type-checking.
Comment 2 Jens Dagerbo 2006-12-30 16:24:56 UTC
No, it should be enough to simply interpret the cast, it's not our problem if it's wrong.

That said, you obviously never should do dynamic_cast<>()->something(), so the example is a bit silly. Still valid for static_cast<> and C-style casts though.
Comment 3 Andreas Pakulat 2008-06-29 16:53:19 UTC
done in kdev4