M
Michael Andersson
Hi!
What's the difference between
--------------- somefile.h ---------------
namespace somenamespace
{
void foo();
}
------------------------------------------
--------------- somefile.cpp ---------------
namespace somenamespace
{
void foo()
{
...
}
}
------------------------------------------
and
--------------- somefile.h ---------------
namespace somenamespace
{
void foo();
}
------------------------------------------
--------------- somefile.cpp ---------------
using namespace somenamespace;
void foo()
{
....
}
What's the difference between
--------------- somefile.h ---------------
namespace somenamespace
{
void foo();
}
------------------------------------------
--------------- somefile.cpp ---------------
namespace somenamespace
{
void foo()
{
...
}
}
------------------------------------------
and
--------------- somefile.h ---------------
namespace somenamespace
{
void foo();
}
------------------------------------------
--------------- somefile.cpp ---------------
using namespace somenamespace;
void foo()
{
....
}