I have read the C++ coding standards, i think they're good. I have one suggestion, however, which regards to section 5.1, "Files and Directories": header files should be put in a project-specific directory. For example, headers for libcorelinux are in corelinux/*, Common C++ defines c++/*, and so on. It is obvious that users must not include those paths in compiler's -I flag, the intent is that, at source code level, one can differentiate between common.hpp of library XX and common.hpp of a library YY:
#include <XX/common.hpp>
#include <YY/common.hpp>
This is not explicitly stated in the standards, is it? If it does, then i suggest to move to section 5.1.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have read the C++ coding standards, i think they're good. I have one suggestion, however, which regards to section 5.1, "Files and Directories": header files should be put in a project-specific directory. For example, headers for libcorelinux are in corelinux/*, Common C++ defines c++/*, and so on. It is obvious that users must not include those paths in compiler's -I flag, the intent is that, at source code level, one can differentiate between common.hpp of library XX and common.hpp of a library YY:
#include <XX/common.hpp>
#include <YY/common.hpp>
This is not explicitly stated in the standards, is it? If it does, then i suggest to move to section 5.1.
Thanks.
Thanks,
I have opened a defect (127216) and will have the changes up soon.