Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
vector<int> is OK, but string or wstring no-work.
MortenMacFly:
--- Quote from: ollydbg on January 17, 2010, 02:36:07 pm ---Great! Why the "!" is missing........It seems we haven't change this function.
--- End quote ---
My fault. I was removing the artifacts from the past where there used to be a parser per project. So I changed all references to "per project parser" to the global none and obviously missed the !" there. Sorry. Will fix asap...
Loaden:
--- Quote from: blueshake on January 17, 2010, 02:14:25 pm ---
--- Quote from: Loaden on January 17, 2010, 12:53:04 pm ---
--- Code: ---#include <iostream>
#include <map>
#include <string>
int main()
{
typedef std::map<int, std::string> TestMap;
TestMap testMap;
// testMap. // not work!
std::map<int, std::string> m;
m.insert(1, "Hello World!"); // work fine.
return 0;
}
--- End code ---
--- End quote ---
@Loaden
you can not typedef something in the function body.The reason is not clear for me,maybe ollydbg or morten can release some answers. :D
--- End quote ---
--- Code: ---#include <iostream>
#include <map>
#include <string>
typedef std::map<int, std::string> TestMap;
class A
{
public:
void Test()
{
TestMap2 t2;
t2.in // works here too.
}
private:
typedef std::map<int, std::string> TestMap2;
}
int main()
{
TestMap testMap;
testMap.i // ok, work now.
return 0;
}
--- End code ---
[attachment deleted by admin]
Loaden:
New bug:
--- Code: ---#include <iostream>
int main()
{
// std::cou // not work!
std::endl // work here.
return 0;
}
--- End code ---
[attachment deleted by admin]
Loaden:
There's a small problem.
[attachment deleted by admin]
MortenMacFly:
--- Quote from: Loaden on January 17, 2010, 04:40:38 pm ---There's a small problem.
--- End quote ---
That's not a problem, that's by design.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version