Either way, when the using block is exited (either by successful completion or by error) it is closed. Although i think it would be better to organize like this because it's a lot easier to see. The problem with putting using namespace in the header files of your classes is that it forces anyone who wants to use your classes (by including your header files) to also be 'using' (i. e.

Recommended for you

You may also like