I use codelite 2.8.0.4537 (Windows build) and the following code does not suggest Declaration/Implementation on "Bar":
Code: Select all
#include <stdio.h>
namespace Foo
{
struct Bar
{
int a;
};
};
using namespace Foo;
int main(int argc, char **argv)
{
Bar k; //but Foo::Bar k; works!!
k.a = 0;
printf("hello world\n");
return 0;
}
I have pretty large project with extensive "using namespace", so I'd like to ask if there is any workaround for this issue?