I’m in the process of reworking the headers of a larger project. The headers haven’t seen any care in a long time, so what we have is a long list of headers pointing directly at .h files located in the file system like so:
#include "src/lib/math/Vec.h"
#include "src/lib/math/Vec2.h"
#include "src/lib/math/Vec3.h"
I figured it would be a nice cleaning step rework the headers to look more like
#include <vecs.h>
For this, I need to provide an include directory so that the < > syntax can be resolved, which is not a big deal. But also, I need to prepare a vecs.h
header file that includes a lot of other headers, a lot of these Vec* classes in this example. So when I include the <vecs.h>
in some place in my code, I actually include a lot of classes that are never even used.
Is this problematic in any way?