I'd like to include this library in the vcpkg package catalog (https://github.com/microsoft/vcpkg/pull/20340) but ran into an issue that would be nice to get addressed here in the library instead of having to be patched on the vcpkg side.
Currently, the library puts all its header files directly under include. This could be problematic because there may be clashes with other libraries that use the same names for their include files, especially since some of the headers use generic names like add_ons.hpp.
I suggest to put all headers into a subfolder promise-cpp or similar, and refer to them via #include "promise-cpp/...hpp" in all files.
I'd like to include this library in the vcpkg package catalog (https://github.com/microsoft/vcpkg/pull/20340) but ran into an issue that would be nice to get addressed here in the library instead of having to be patched on the vcpkg side.
Currently, the library puts all its header files directly under
include
. This could be problematic because there may be clashes with other libraries that use the same names for their include files, especially since some of the headers use generic names likeadd_ons.hpp
.I suggest to put all headers into a subfolder
promise-cpp
or similar, and refer to them via#include "promise-cpp/...hpp"
in all files.