From da16abf365861f2727d30a619aec67421243a014 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 4 Jun 2015 19:54:24 +0100 Subject: [PATCH] Fix links to headers in release. Because the 'include' directory is deleted from the final release, all the header links break. Can currently see the broken links in the inspect report. --- doc/bind/implementation.qbk | 18 +++++++++--------- doc/bind/purpose.qbk | 4 ++-- doc/bind/troubleshooting.qbk | 4 ++-- doc/mem_fn/implementation.qbk | 8 ++++---- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/bind/implementation.qbk b/doc/bind/implementation.qbk index 40d339a..f19023c 100644 --- a/doc/bind/implementation.qbk +++ b/doc/bind/implementation.qbk @@ -11,15 +11,15 @@ [section Files] -* [@../../include/boost/bind.hpp boost/bind.hpp] (main header) -* [@../../include/boost/bind/bind_cc.hpp boost/bind/bind_cc.hpp] (used by `bind.hpp`, do not include directly) -* [@../../include/boost/bind/bind_mf_cc.hpp boost/bind/bind_mf_cc.hpp] (used by `bind.hpp`, do not include directly) -* [@../../include/boost/bind/bind_template.hpp boost/bind/bind_template.hpp] (used by `bind.hpp`, do not include directly) -* [@../../include/boost/bind/arg.hpp boost/bind/arg.hpp] (defines the type of the placeholder arguments) -* [@../../include/boost/bind/placeholders.hpp boost/bind/placeholders.hpp] (defines the `_1`, `_2`, ... `_9` placeholders) -* [@../../include/boost/bind/apply.hpp boost/bind/apply.hpp] (`apply` helper function object) -* [@../../include/boost/bind/protect.hpp boost/bind/protect.hpp] (`protect` helper function) -* [@../../include/boost/bind/make_adaptable.hpp boost/bind/make_adaptable.hpp] (`make_adaptable` helper function) +* [@../../../../boost/bind.hpp boost/bind.hpp] (main header) +* [@../../../../boost/bind/bind_cc.hpp boost/bind/bind_cc.hpp] (used by `bind.hpp`, do not include directly) +* [@../../../../boost/bind/bind_mf_cc.hpp boost/bind/bind_mf_cc.hpp] (used by `bind.hpp`, do not include directly) +* [@../../../../boost/bind/bind_template.hpp boost/bind/bind_template.hpp] (used by `bind.hpp`, do not include directly) +* [@../../../../boost/bind/arg.hpp boost/bind/arg.hpp] (defines the type of the placeholder arguments) +* [@../../../../boost/bind/placeholders.hpp boost/bind/placeholders.hpp] (defines the `_1`, `_2`, ... `_9` placeholders) +* [@../../../../boost/bind/apply.hpp boost/bind/apply.hpp] (`apply` helper function object) +* [@../../../../boost/bind/protect.hpp boost/bind/protect.hpp] (`protect` helper function) +* [@../../../../boost/bind/make_adaptable.hpp boost/bind/make_adaptable.hpp] (`make_adaptable` helper function) * [@../../test/bind_test.cpp libs/bind/test/bind_test.cpp] (test) * [@../../bind_as_compose.cpp libs/bind/bind_as_compose.cpp] (function composition example) * [@../../bind_visitor.cpp libs/bind/bind_visitor.cpp] (visitor example) diff --git a/doc/bind/purpose.qbk b/doc/bind/purpose.qbk index 8ec1e79..146d8db 100644 --- a/doc/bind/purpose.qbk +++ b/doc/bind/purpose.qbk @@ -215,7 +215,7 @@ argument, so the example below does not work as expected: The desired effect can be achieved via a helper function object `apply` that applies its first argument, as a function object, to the rest of its argument list. For convenience, an implementation of `apply` is provided in the -[@../../include/boost/bind/apply.hpp apply.hpp] header file. Here is how the +[@../../../../boost/bind/apply.hpp apply.hpp] header file. Here is how the modified version of the previous example looks like: typedef void (*pf)(int); @@ -230,7 +230,7 @@ with the help of another function object, `protect`, that masks the type so that `bind` does not recognize and evaluate it. When called, protect simply forwards the argument list to the other function object unmodified. -The header [@../../include/boost/bind/protect.hpp protect.hpp] contains an +The header [@../../../../boost/bind/protect.hpp protect.hpp] contains an implementation of `protect`. To `protect` a bind function object from evaluation, use `protect(bind(f, ...))`. diff --git a/doc/bind/troubleshooting.qbk b/doc/bind/troubleshooting.qbk index 2897a3d..21a7b37 100644 --- a/doc/bind/troubleshooting.qbk +++ b/doc/bind/troubleshooting.qbk @@ -179,9 +179,9 @@ these concepts. This allows unary and binary function objects resulting from [@http://en.cppreference.com/w/cpp/utility/functional/unary_negate `std::unary_negate`] and [@http://en.cppreference.com/w/cpp/utility/functional/binary_negate `std::binary_negate`]. -The `make_adaptable` function is defined in [@../../include/boost/bind/make_adaptable.hpp +The `make_adaptable` function is defined in [@../../../../boost/bind/make_adaptable.hpp ``], which must be included explicitly in -addition to [@../../include/boost/bind.hpp ``]: +addition to [@../../../../boost/bind.hpp ``]: #include diff --git a/doc/mem_fn/implementation.qbk b/doc/mem_fn/implementation.qbk index f7314ad..b648c13 100644 --- a/doc/mem_fn/implementation.qbk +++ b/doc/mem_fn/implementation.qbk @@ -11,10 +11,10 @@ [section Files] -* [@../../include/boost/mem_fn.hpp boost/mem_fn.hpp] (main header) -* [@../../include/boost/bind/mem_fn_cc.hpp boost/bind/mem_fn_cc.hpp] (used by `mem_fn.hpp`, do not include directly) -* [@../../include/boost/bind/mem_fn_vw.hpp boost/bind/mem_fn_vw.hpp] (used by `mem_fn.hpp`, do not include directly) -* [@../../include/boost/bind/mem_fn_template.hpp boost/bind/mem_fn_template.hpp] (used by `mem_fn.hpp`, do not include directly) +* [@../../../../boost/mem_fn.hpp boost/mem_fn.hpp] (main header) +* [@../../../../boost/bind/mem_fn_cc.hpp boost/bind/mem_fn_cc.hpp] (used by `mem_fn.hpp`, do not include directly) +* [@../../../../boost/bind/mem_fn_vw.hpp boost/bind/mem_fn_vw.hpp] (used by `mem_fn.hpp`, do not include directly) +* [@../../../../boost/bind/mem_fn_template.hpp boost/bind/mem_fn_template.hpp] (used by `mem_fn.hpp`, do not include directly) * [@../../test/mem_fn_test.cpp libs/bind/test/mem_fn_test.cpp] (test) * [@../../test/mem_fn_derived_test.cpp libs/bind/test/mem_fn_derived_test.cpp] (test with derived objects) * [@../../test/mem_fn_fastcall_test.cpp libs/bind/test/mem_fn_fastcall_test.cpp] (test for `__fastcall`)