27-02-2014, 02:31 PM
Does this rule prevent "using namespace ..." in a header file, if, it is inside a namespace?
e.g. is it ok to do this in the header...
namespace ComponentX
{
using namespace BasicTypes;
class AClass
{
public:
bool_t IsActive(void);
};
}
}
or would i have to do this...
BasicTypes::bool_t IsActive(void);
e.g. is it ok to do this in the header...
namespace ComponentX
{
using namespace BasicTypes;
class AClass
{
public:
bool_t IsActive(void);
};
}
}
or would i have to do this...
BasicTypes::bool_t IsActive(void);
<t></t>