I would like to write code in .hpp without separation to .h and .cpp
- I did it. I use .cpp only for static class-fields definitions
I would like not to write #include manually ...
- I use forward delarations where it possible.
- Every my .hpp file containt #pragma once.
- But, when my project grows up to 40-50 classes i saw problem of include graph. There are some errors of definitions.
Image with include graph of my project model (like part of mvc) attached.
I used this app for graph generation (can work without MSVS!).
How include graph should look like? Like a tree?
How not to write includes manually, like in C# or Java?