User forums > Help
Code-Completion sometimes can't deal with const in the right side.
photon3108:
If I declare a member function "int const & get_number( int const & index )" in header
file and define it in source code file, when I use them at another file, Code-Completion
can't rise well.
Actually, I don't know what makes this problem, is const in the right side or not.
Does someone has the same problems, too? How to solve it?
Thanks
ollydbg:
works fine here. :D
Can't reproduce this problem.
photon3108:
C::B v.5716
I can't reproduce this problem, too. In fact, Code-Completion often doesn't wrok for
me, but I can't find the rules of these problems. I suspect "const" in the right side of
data type because I often see it when these problems happened.
for example,
void ClassA::function( ClassB const & b_1,
ClassB & b_2 )
{
// The problem happened here.
b_1.xxxxxx
// Code-Completion works well here.
b_2.xxxxxx
}
blueshake:
just wait for some time ,I will check into it after my computer back.
or you can have a try with cc-branch.
blueshake:
I can confirm this issue.It is relative to right const.
Navigation
[0] Message Index
[#] Next page
Go to full version