Some people claim that using namespace std;
is bad practice. Others say it's OK in it's place. But everyone agrees that putting it in a header file is verboten.
So dear reader, who can explain this from Bjarne Stroustrup's own web site.
http://www.stroustrup.com/Programming/Graphics/std_lib_facilities.h
He didn't even put it at the top where you might notice it, its about 50 lines down.
What's going on here? Are mischievieous hackers out to discredit BS by putting bad code on his web-site?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…