[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 267877] Absence of support for size_t type makes container classes parsing wrong
From: Milian Wolff <mail () milianw ! de>
Date: 2012-02-28 15:54:13
Message-ID: E1S2PNV-00062I-O6 () bugs ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=267877
Milian Wolff <mail@milianw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #8 from Milian Wolff <mail milianw de> 2012-02-28 15:54:13 ---
this example works for me, note the "using namespace std;" and the include of
"cstddef".
~~~~~~
#include <cstddef>
using namespace std;
class A{
public:
void f();
};
//typedef int size_t; // if uncomment this, parsing works
class Container{
public:
A& operator[](size_t i);
A at(size_t i);
};
void main(){
Container c;
c[0].f();
// ^ there is no completion support here
c.at(1).f();
// ^ but here it works
}
~~~~~~
if it's still not working for anyone, please give us a way to reproduce it.
--
Configure bugmail: https://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