[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 182021] New: Wrong completion with using directives
From: Eckhart Wörner <ewoerner () kde ! org>
Date: 2009-01-26 20:07:23
Message-ID: bug-182021-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
http://bugs.kde.org/show_bug.cgi?id=182021
Summary: Wrong completion with using directives
Product: kdevelop
Version: unspecified
Platform: unspecified
OS/Version: unspecified
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: ewoerner@kde.org
Version: 3.9.90 (using 4.2.00 (KDE 4.2.0), Debian packages)
#include <list>
int main() {
std::list<int> a;
a.[complete]
}
With the gcc implementation of std::list, KDevelop suggests _M_impl,
_M_put_node, _M_get_node, _M_get_Tp_allocator, _M_get_Node_allocator
Inspection of the corresponding header file shows:
template <....> class list {
...
protected:
using _Base::_M_impl;
using _Base::_M_put_node;
using _Base::_M_get_node;
using _Base::_M_get_Tp_allocator;
using _Base::_M_get_Node_allocator;
...
};
These using directives are protected, access from outside is therefore not
possible.
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic