Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Enums inside Namespace
(1/1)
daniloz:
Hi All,
I found something strange in the CC plugin... See code below:
--- Code: ---namespace Enums
{
enum eTest { T_ONE, T_TWO, T_THREE };
}
void main(void)
{
T_
Enums::T_
}
--- End code ---
In the first case ("T_") I have a list of completion (see screenshot below), even though I'm outside the namespace. I wouldn't expect any completion hints here.
However, in the second case ("Enums::T_") I get nothing...
The only way to get the completion is via "Enums::eTest::T_", but that's wrong...
Any hints?
killerbot:
your second case might depend in future.
Currently you are correct, bu with C++0x enum class, you will have to do it that way. Just for your information.
Navigation
[0] Message Index
Go to full version