[ENHANCEMENT]: new presentation for CMake specific language headers
Some headers, specifics to CMake, are used exactly as standard language headers. The purpose of these headers is to homogenize compiler capabilities regardless standard support.
I propose a new way to use these headers to highlight the fact that they have exactly same semantic as the standard ones they replace.
Currently, at least, headers cm_string_view.hxx
and cm_memory.hxx
are in this situation. I propose to put these headers in sud-directory cm
and rename them to the same names as the standard headers. So we will get:
cm/string_view
cm/memory
So the usage will be:
#include "cm/string_view" // same usage as <string_view>
#include "cm/memory" // same usage as <memory>
Or by using angle brackets to highlight even more the fact that they are language headers:
#include <cm/string_view> // same usage as <string_view>
#include <cm/memory> // same usage as <memory>