I can see the arguments why this would often be considered a bad practice but do any mainstream C++ IDEs provide this functionality, e.g. to automatically use namespace ABC for every .cpp file?
It strikes me adding a using namespace
line to a precompiled header (e.g. stdafx.h) would achieve this, but in a less strictly controlled way?