Thursday, September 9, 2010

OmniCppComplete with namesapce can't work

Hello All:
I use OmniCppComplete, when I use namesapce, <c-x><c-o> can't
complete C1's member.
If don't use namespace it work. It a bug? The Omni plugin is too old,
Now have a new one?
Thanks.


namespace TTT {
//<------------------ namespace
class C1 {
int a;
int b;
int c;
};
}
//<--------------------
using namespace TTT;
class C2 : C1{
int x;
int y;
int z;
};

int main(int argc, char *argv[])
{
C2 * y;
y-> <c-x><c-o> //
<---------------- omnicppcomplete
}

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment