@StarSky
2017-06-29T02:37:57.000000Z
字数 444
阅读 902
工作日记
C++
today, I reviewed the code and found my colleague had add #include <vector>
in a commonUtil. Asually, I only use using namespace std;
and It works well, so I asked him why and search by google.
It seems that It's a obsolete coding rule, but not necessary all the way.
ref:
http://www.cplusplus.com/forum/beginner/49748/
https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
https://www.zhihu.com/question/26911239