Topic: How correctly to connect h - files?
There is a desire to reduce the code, entering the reduced titles of types. Therefore the mentioned below file, which then "" to ALL remaining files of the project is created:
#include <QString> #include <string> #include <vector> #include <regex> typedef const QString cQString; typedef const std:: string cstring; typedef const std:: vector cvector; typedef const std:: regex cregex; typedef const std:: string:: size_type csize_type;
I correctly understand, what thereby at me the code strongly inflates, after all the directive "#include" recursively interposes initial the code string, vector and regex into all files of my project?
What consequences at such approach?