From 509ce8f95e0d299c29a85904b41e93dca4a1a78d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Fri, 12 May 2017 19:49:05 +0300 Subject: [PATCH] Add endsect ids, enable quickbook strict mode --- doc/Jamfile.v2 | 2 +- doc/html/mp11.html | 2 +- doc/mp11/algorithm.qbk | 2 +- doc/mp11/bind.qbk | 2 +- doc/mp11/definitions.qbk | 4 ++-- doc/mp11/examples.qbk | 4 ++-- doc/mp11/function.qbk | 2 +- doc/mp11/integer_sequence.qbk | 2 +- doc/mp11/integral.qbk | 2 +- doc/mp11/list.qbk | 2 +- doc/mp11/map.qbk | 2 +- doc/mp11/overview.qbk | 4 ++-- doc/mp11/set.qbk | 2 +- doc/mp11/tuple_for_each.qbk | 2 +- doc/mp11/utility.qbk | 2 +- 15 files changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 35d5468..f8d1a5d 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -10,7 +10,7 @@ project doc/mp11 ; import boostbook ; import quickbook ; -xml mp11_ : mp11.qbk ; +xml mp11_ : mp11.qbk : on ; boostbook standalone_mp11 : mp11_ diff --git a/doc/html/mp11.html b/doc/html/mp11.html index 17487f5..cd95a45 100644 --- a/doc/html/mp11.html +++ b/doc/html/mp11.html @@ -1866,7 +1866,7 @@ - +

Last revised: May 12, 2017 at 16:42:29 GMT

Last revised: May 12, 2017 at 16:48:16 GMT


diff --git a/doc/mp11/algorithm.qbk b/doc/mp11/algorithm.qbk index 14ccad0..b325077 100644 --- a/doc/mp11/algorithm.qbk +++ b/doc/mp11/algorithm.qbk @@ -244,4 +244,4 @@ for the elements of `L` and `mp_false` for the elements of `L`. Re `mp_any_of` is `mp_true` when `P` holds for at least one element of `L`, `mp_false` otherwise. When `L` is empty, the result is `mp_false`. [endsect] -[endsect] +[endsect:algorithm] diff --git a/doc/mp11/bind.qbk b/doc/mp11/bind.qbk index 5cc48c3..f254929 100644 --- a/doc/mp11/bind.qbk +++ b/doc/mp11/bind.qbk @@ -68,4 +68,4 @@ As `mp_bind_front`, but takes a quoted metafunction. As `mp_bind_back`, but takes a quoted metafunction. [endsect] -[endsect] +[endsect:bind] diff --git a/doc/mp11/definitions.qbk b/doc/mp11/definitions.qbk index ce7def2..3955fbf 100644 --- a/doc/mp11/definitions.qbk +++ b/doc/mp11/definitions.qbk @@ -6,7 +6,7 @@ / http://www.boost.org/LICENSE_1_0.txt) /] -[section Definitions] +[section:definitions Definitions] A /list/ is a '''—''' usually but not necessarily variadic '''—''' template class whose parameters are all types, for example `mp_list`, `mp_list<>`, `std::tuple`, `std::pair`, `std::shared_ptr`. @@ -36,4 +36,4 @@ A /map/ is a list of lists, the inner lists having at least one element (the key using M1 = std::tuple, std::pair, std::pair>; using M2 = mp_list, mp_list, mp_list>; -[endsect] +[endsect:definitions] diff --git a/doc/mp11/examples.qbk b/doc/mp11/examples.qbk index 2644118..041c589 100644 --- a/doc/mp11/examples.qbk +++ b/doc/mp11/examples.qbk @@ -6,7 +6,7 @@ / http://www.boost.org/LICENSE_1_0.txt) /] -[section Examples] +[section:examples Examples] [section Generating Test Cases] @@ -173,4 +173,4 @@ and we're done: [endsect] -[endsect] +[endsect:examples] diff --git a/doc/mp11/function.qbk b/doc/mp11/function.qbk index 01948c2..b0ef1ae 100644 --- a/doc/mp11/function.qbk +++ b/doc/mp11/function.qbk @@ -37,4 +37,4 @@ If no such type exists, the last one is returned. `mp_or<>` is `mp_false`. Simil `mp_or`, but does not perform short-circuit evaluation. [endsect] -[endsect] +[endsect:function] diff --git a/doc/mp11/integer_sequence.qbk b/doc/mp11/integer_sequence.qbk index e33df75..f0604b6 100644 --- a/doc/mp11/integer_sequence.qbk +++ b/doc/mp11/integer_sequence.qbk @@ -42,4 +42,4 @@ The contents of this header are defined in namespace `boost`. `index_sequence_for` is `make_index_sequence`. Same as C++14's `std::index_sequence_for`. [endsect] -[endsect] +[endsect:integer_sequence] diff --git a/doc/mp11/integral.qbk b/doc/mp11/integral.qbk index 77c45c8..dbe757f 100644 --- a/doc/mp11/integral.qbk +++ b/doc/mp11/integral.qbk @@ -38,4 +38,4 @@ For an Mp11 integral constant type `T`, `T::value` is an integral constant in th template using mp_size_t = std::integral_constant; [endsect] -[endsect] +[endsect:integral] diff --git a/doc/mp11/list.qbk b/doc/mp11/list.qbk index 67cdfc8..ccddc86 100644 --- a/doc/mp11/list.qbk +++ b/doc/mp11/list.qbk @@ -132,4 +132,4 @@ is an alias for `L`. is an alias for `L`. [endsect] -[endsect] +[endsect:list] diff --git a/doc/mp11/map.qbk b/doc/mp11/map.qbk index d76338b..fad9dfd 100644 --- a/doc/mp11/map.qbk +++ b/doc/mp11/map.qbk @@ -48,4 +48,4 @@ replaces the existing element `L` with `L>`. If the map `M` contains an element with a key `K`, removes it. [endsect] -[endsect] +[endsect:map] diff --git a/doc/mp11/overview.qbk b/doc/mp11/overview.qbk index 79502b4..0686565 100644 --- a/doc/mp11/overview.qbk +++ b/doc/mp11/overview.qbk @@ -6,7 +6,7 @@ / http://www.boost.org/LICENSE_1_0.txt) /] -[section Overview] +[section:overview Overview] Mp11 is a C++11 metaprogramming library based on template aliases and variadic templates. It implements the approach outlined in the article @@ -31,4 +31,4 @@ gives us `std::tuple`, but we can also apply `mp_list` to the same and get `std::tuple, mp_list>`. -[endsect] +[endsect:overview] diff --git a/doc/mp11/set.qbk b/doc/mp11/set.qbk index a646823..3964d60 100644 --- a/doc/mp11/set.qbk +++ b/doc/mp11/set.qbk @@ -28,4 +28,4 @@ For each `T1` in `T...`, `mp_set_push_back` appends `T1` to the end of `mp_set_push_front` inserts at the front of `S` those elements of `T...` for which `S` does not already contain the same type. [endsect] -[endsect] +[endsect:set] diff --git a/doc/mp11/tuple_for_each.qbk b/doc/mp11/tuple_for_each.qbk index bfdf767..2b06fcd 100644 --- a/doc/mp11/tuple_for_each.qbk +++ b/doc/mp11/tuple_for_each.qbk @@ -19,4 +19,4 @@ expression `f(std::get(std::forward(tp)))` for `J` in 0..`N-1`, where `N` Returns `std::forward(f)`. [endsect] -[endsect] +[endsect:tuple_for_each] diff --git a/doc/mp11/utility.qbk b/doc/mp11/utility.qbk index 0052d34..1786265 100644 --- a/doc/mp11/utility.qbk +++ b/doc/mp11/utility.qbk @@ -76,4 +76,4 @@ When `mp_valid` is `mp_true`, `mp_defer` is a struct with a ne `mp_invoke` evaluates the nested template `fn` of a quoted metafunction. `mp_invoke, T...>` returns `F`. [endsect] -[endsect] +[endsect:utility]