2
What happens when I use the directive using namespace x
within a namespace
?
For example:
namespace x {
int k = 1;
}
namespace y {
using namespace x;
}
Now when I use the namespace y
can access settings from x
too? This is:
namespace z {
int c = y::k;
}