Best Practices For Includes
Hey, I was wondering your opinion on the best practices for including outside headers in a class declaration/implementation files.
For declaring local variables of some outside type, for instance an stl::queue, should I #include<queue> in the .h file, or just in the cpp file? Or does it really matter? I've seen it both ways and was wondering if there was a "proper" way to do it. Also I've heard it is not good to use a using namespace in either the .h/.cpp file. IE just use the :: operator to bring the types into scope? Why is this best.