mpark / variant

C++17 `std::variant` for C++11/14/17
https://mpark.github.io/variant
Boost Software License 1.0
664 stars 87 forks source link

Fix for library path agnostic clients #31

Closed elelel closed 7 years ago

elelel commented 7 years ago

Currently internal header files are included by library paths, which assumes that library's include dir is known to compiler. This makes it impossible to compile the library under path agnostic scenario. For example, if another header-only library wants to use variant library it can't include it, unless the end user specifies variant's path separately in their make system. This PR converts includes of local files from global library style to local relative path style.

elelel commented 7 years ago

This may have something to do with #29

mpark commented 7 years ago

Thanks for the patch!