I'm working with Visual Studio 2010 and with the common pattern of having a single class per header and source file (of the same name as the class).
Now I would like to compose a single header file containing all / some of the headers in an order based on the internal dependencies, i.e., the definition of class B before that of class A, if A depends on B (i.e., if "A.h" includes "B.h").
Is there any build-in tool for this? How is this commonly done?