commit 50acc9ef87585c90df9cd884cc9eeddd2ce811ac
Author: Daniel James <daniel@bah.(none)>
Date: Sat Feb 7 22:54:51 2009 +0000
Use 'boost:' paths.
diff --git a/libs/functional/hash/doc/intro.qbk b/libs/functional/hash/doc/intro.qbk
index bba5de3..b027719 100644
a
|
b
|
|
13 | 13 | TR1]] |
14 | 14 | [def __unordered__ [link unordered Boost.Unordered]] |
15 | 15 | [def __intrusive__ [link intrusive.unordered_set_unordered_multiset Boost.Intrusive]] |
16 | | [def __multi-index__ [@../../libs/multi_index/doc/index.html |
| 16 | [def __multi-index__ [@boost:/libs/multi_index/doc/index.html |
17 | 17 | Boost Multi-Index Containers Library]] |
18 | | [def __multi-index-short__ [@../../libs/multi_index/doc/index.html |
| 18 | [def __multi-index-short__ [@boost:/libs/multi_index/doc/index.html |
19 | 19 | Boost.MultiIndex]] |
20 | | [def __bimap__ [@../../libs/bimap/index.html Boost.Bimap]] |
| 20 | [def __bimap__ [@boost:/libs/bimap/index.html Boost.Bimap]] |
21 | 21 | [def __issues__ |
22 | 22 | [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1837.pdf |
23 | 23 | Library Extension Technical Report Issues List]] |
diff --git a/libs/functional/hash/doc/portability.qbk b/libs/functional/hash/doc/portability.qbk
index e9100ce..fabb298 100644
a
|
b
|
boost namespace:
|
88 | 88 | } |
89 | 89 | |
90 | 90 | Full code for this example is at |
91 | | [@../../libs/functional/hash/examples/portable.cpp /libs/functional/hash/examples/portable.cpp]. |
| 91 | [@boost:/libs/functional/hash/examples/portable.cpp /libs/functional/hash/examples/portable.cpp]. |
92 | 92 | |
93 | 93 | [h2 Other Issues] |
94 | 94 | |
diff --git a/libs/functional/hash/doc/tutorial.qbk b/libs/functional/hash/doc/tutorial.qbk
index eaf9a95..b2f79f5 100644
a
|
b
|
|
3 | 3 | / Distributed under the Boost Software License, Version 1.0. (See accompanying |
4 | 4 | / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ] |
5 | 5 | |
6 | | [def __multi-index-short__ [@../../libs/multi_index/doc/index.html |
| 6 | [def __multi-index-short__ [@boost:/libs/multi_index/doc/index.html |
7 | 7 | Boost.MultiIndex]] |
8 | 8 | |
9 | 9 | [section:tutorial Tutorial] |
… |
… |
And you can now use [classref boost::hash] with book:
|
110 | 110 | assert(books.find(dandelion) == books.end()); |
111 | 111 | |
112 | 112 | The full example can be found in: |
113 | | [@../../libs/functional/hash/examples/books.cpp /libs/functional/hash/examples/books.hpp] |
| 113 | [@boost:/libs/functional/hash/examples/books.cpp /libs/functional/hash/examples/books.hpp] |
114 | 114 | and |
115 | | [@../../libs/functional/hash/examples/books.cpp /libs/functional/hash/examples/books.cpp]. |
| 115 | [@boost:/libs/functional/hash/examples/books.cpp /libs/functional/hash/examples/books.cpp]. |
116 | 116 | |
117 | 117 | [tip |
118 | 118 | When writing a hash function, first look at how the equality function works. |
… |
… |
of point, it can be repeatedly called for any number of elements. It calls
|
170 | 170 | [funcref boost::hash_value hash_value] on the supplied element, and combines it with the seed. |
171 | 171 | |
172 | 172 | Full code for this example is at |
173 | | [@../../libs/functional/hash/examples/point.cpp /libs/functional/hash/examples/point.cpp]. |
| 173 | [@boost:/libs/functional/hash/examples/point.cpp /libs/functional/hash/examples/point.cpp]. |
174 | 174 | |
175 | 175 | [note |
176 | 176 | When using [funcref boost::hash_combine] the order of the |
diff --git a/libs/unordered/doc/changes.qbk b/libs/unordered/doc/changes.qbk
index 204b427..cb48dad 100644
a
|
b
|
First official release.
|
44 | 44 | |
45 | 45 | [h2 Boost 1.38.0] |
46 | 46 | |
47 | | * Use [@../../libs/utility/swap.html `boost::swap`]. |
| 47 | * Use [@boost:/libs/utility/swap.html `boost::swap`]. |
48 | 48 | * [@https://svn.boost.org/trac/boost/ticket/2237 Ticket 2237]: |
49 | 49 | Document that the equality and inequality operators are undefined for two |
50 | 50 | objects if their equality predicates aren't equivalent. Thanks to Daniel |
… |
… |
First official release.
|
53 | 53 | Use a larger prime number list. Thanks to Thorsten Ottosen and Hervé |
54 | 54 | Brönnimann. |
55 | 55 | * Use |
56 | | [@../../libs/type_traits/doc/html/boost_typetraits/category/alignment.html |
| 56 | [@boost:/libs/type_traits/doc/html/boost_typetraits/category/alignment.html |
57 | 57 | aligned storage] to store the types. This changes the way the allocator is |
58 | 58 | used to construct nodes. It used to construct the node with two calls to |
59 | 59 | the allocator's `construct` method - once for the pointers and once for the |
diff --git a/libs/unordered/doc/hash_equality.qbk b/libs/unordered/doc/hash_equality.qbk
index 74004b4..8fc08fb 100644
a
|
b
|
but not the equality predicate. For example, if you wanted to use the
|
23 | 23 | [import src_code/dictionary.cpp] |
24 | 24 | [case_sensitive_dictionary_fnv] |
25 | 25 | |
26 | | There is an [@../../libs/unordered/examples/fnv1.hpp implementation |
| 26 | There is an [@boost:/libs/unordered/examples/fnv1.hpp implementation |
27 | 27 | of FNV-1] in the examples directory. |
28 | 28 | |
29 | 29 | If you wish to use a different equality function, |
… |
… |
Which you can then use in a case insensitive dictionary:
|
38 | 38 | [case_insensitive_dictionary] |
39 | 39 | |
40 | 40 | This is a simplified version of the example at |
41 | | [@../../libs/unordered/examples/case_insensitive.hpp /libs/unordered/examples/case_insensitive.hpp] |
| 41 | [@boost:/libs/unordered/examples/case_insensitive.hpp /libs/unordered/examples/case_insensitive.hpp] |
42 | 42 | which supports other locales and string types. |
43 | 43 | |
44 | 44 | [caution |
diff --git a/tools/quickbook/doc/quickbook.qbk b/tools/quickbook/doc/quickbook.qbk
index 6fffa65..8af774d 100644
a
|
b
|
sample application using __spirit__. What is it? What you are viewing now, this
|
84 | 84 | documentation, is autogenerated by QuickBook. These files were generated from |
85 | 85 | one master: |
86 | 86 | |
87 | | [:[@../../tools/quickbook/doc/quickbook.qbk quickbook.qbk]] |
| 87 | [:[@boost:/tools/quickbook/doc/quickbook.qbk quickbook.qbk]] |
88 | 88 | |
89 | 89 | Originally named QuickDoc, this funky tool that never dies, evolved into a |
90 | 90 | funkier tool thanks to Eric Niebler who resurrected the project making it |
… |
… |
The first line:
|
1662 | 1662 | '''] |
1663 | 1663 | |
1664 | 1664 | collects specially marked-up code snippets from |
1665 | | [@../../tools/quickbook/test/stub.cpp stub.cpp] |
| 1665 | [@boost:/tools/quickbook/test/stub.cpp stub.cpp] |
1666 | 1666 | and places them in your QuickBook file as virtual templates. Each of the |
1667 | 1667 | specially marked-up code snippets has a name (e.g. `foo` and `bar` in the |
1668 | 1668 | example above). This shall be the template identifier for that particular code |
… |
… |
And the result is:
|
1681 | 1681 | |
1682 | 1682 | [heading Code Snippet Markup] |
1683 | 1683 | |
1684 | | Note how the code snippets in [@../../tools/quickbook/test/stub.cpp stub.cpp] |
| 1684 | Note how the code snippets in [@boost:/tools/quickbook/test/stub.cpp stub.cpp] |
1685 | 1685 | get marked up. We use distinguishable comments following the form: |
1686 | 1686 | |
1687 | 1687 | //[id |
… |
… |
Example:
|
1764 | 1764 | |
1765 | 1765 | [class_] |
1766 | 1766 | |
1767 | | See the actual code here: [@../../tools/quickbook/test/stub.cpp] |
| 1767 | See the actual code here: [@boost:/tools/quickbook/test/stub.cpp] |
1768 | 1768 | |
1769 | 1769 | [endsect] |
1770 | 1770 | |