Someone once hinted that doing this in a header file is not advised:
using namespace std;
Why is it not advised?
Could it cause linker errors like this: (linewrapped for convenience)
error LNK2005: "public: __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::
~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
(void)" (??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in tools.lib(Exception.obj)
See Question&Answers more detail:os