On 12/04/2017 05:55, Robert Ramey via Boost wrote:
// example using he safe numerics library
#include <iostream> #include <limits> #include
#include "../include/cpp.hpp" #include "../include/exception.hpp" #include "../include/safe_integer.hpp" #include "../include/safe_range.hpp"
This has raised consternation in some quarters - but I don't see anything wrong with it. It basically means that only the
While I agree with this practice in general, in the specific case of
Boost libraries using ../include relative paths is not a good idea, in
my view.
The problem with this is the way the source is repackaged as a
monolithic zip/tarball -- all of the include directories are removed and
replaced with a "boost" folder that combines the include directories
from all libraries.
Thus an end user who only uses this zip/tarball version of Boost cannot
build your tests/examples without modifying the source to use