The difference in “namespace X” to “using namespace X” is in the first one any new declarations will be under the name space while in the second one it won’t.
In your example there are no new declaration – so no difference hence no preferred way.
The difference in “namespace X” to “using namespace X” is in the first one any new declarations will be under the name space while in the second one it won’t.
In your example there are no new declaration – so no difference hence no preferred way.