Skip to content

Commit db5c170

Browse files
committed
Try explicit end of anchor
1 parent 7534e14 commit db5c170

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
7373
7474
# <A name="modifiers"/> Modifiers:
7575
76-
* `strong::affine_point<D>`<A name="affine_point"/> allows instances to be
76+
* <A name="affine_point"></A>`strong::affine_point<D>` allows instances to be
7777
subtracted (yielding a `D`) or to add or subtract a `D` to an instance.
7878
See [Affine Space](https://en.wikipedia.org/wiki/Affine_space). Examples of
7979
one dimentional affine points are pointer (with `D` being `ptrdiff_t`,) or
@@ -90,7 +90,7 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
9090
Available in `strong_type//affine_point.hpp`.
9191
9292
93-
* `strong::arithmetic`<A name="arithmetic"/> allows addition, subtraction,
93+
* <A name="arithmetic"></A>`strong::arithmetic` allows addition, subtraction,
9494
multiplication, division and remainder of instances.
9595
9696
[`std::numeric_limits<T>`](https://en.cppreference.com/w/cpp/types/numeric_limits)
@@ -99,49 +99,49 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
9999
Available in `strong_type/arithmetic.hpp`.
100100
101101
102-
* `strong::bicrementable` <A name="bicrementable"/>. Obviously a made up word
102+
* <A name="bicrementable"></A>`strong::bicrementable`. Obviously a made up word
103103
for the occation. Implements both
104104
[`strong::incrementable`](#incrementable) and
105105
[`strong::decrementable`](#decrementable).
106106
107107
Available in `strong_type/bicrementable.hpp`
108108
109109
110-
* `strong::bitarithmetic` <A name="bitarithmetic"/> allows bitwise `&`, bitwise
110+
* <A name="bitarithmetic"></A>`strong::bitarithmetic` allows bitwise `&`, bitwise
111111
`|`, bitwise `^` and shift operations.
112112
113113
Available in `strong_type/bitarithmetic.hpp`.
114114
115115
116-
* `strong::boolean` <A name="boolean"/> provides
116+
* <A name="boolean"></A>`strong::boolean` provides
117117
`explicit operator bool() const`, providing the
118118
underlying type supports it.
119119
120120
Available in `strong_type/boolean.hpp`.
121121
122122
123-
* `strong::convertible_to<Ts...>` <A name="convertible_to"/> provides an
123+
* <A name="convertible_to"></A>`strong::convertible_to<Ts...>` provides an
124124
`explicit operator Ts() const` for each type `Ts`, providing the underlying
125125
type supports it.
126126
127127
Available in `strong_type/convertible_to.hpp`.
128128
129129
130-
* `strong::decrementable` <A name="decrementable"/>. Provides
130+
* <A name="decrementable"></A>`strong::decrementable`. Provides
131131
[`operator--`](https://en.cppreference.com/w/cpp/language/operator_incdec) for
132132
the strong type, using the operator of the underlying type.
133133
134134
Available in `strong_type/incrementable.hpp`
135135
136136
137-
* <A name="default_constructible"/>`strong::default_constructible`. The strong
137+
* <A name="default_constructible"></A>`strong::default_constructible`. The strong
138138
type is not default constructible by default. This modifier enables a default
139139
constructor which uses a default constructor of the underlying type.
140140
141141
Available in `strong_type/type.hpp`
142142
143143
144-
* <A name="difference"/>`strong::difference` allows instances to be subtracted
144+
* <A name="difference"></A>`strong::difference` allows instances to be subtracted
145145
and added (yielding a `strong::difference`).
146146
147147
Conditionally, if the underlying
@@ -155,21 +155,21 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
155155
Available in `strong_type/difference.hpp`.
156156
157157
158-
* <A name="equality"/>`strong::equality` provides operators `==` and `!=`. The
158+
* <A name="equality"></A>`strong::equality` provides operators `==` and `!=`. The
159159
strong type can be compared for equality or inequality.
160160
161161
Available in `strong_type/equality.hpp`.
162162
163163
164-
* <A name="equality_with"/>`strong::equality_with<Ts...>` provides operators
164+
* <A name="equality_with"></A>`strong::equality_with<Ts...>` provides operators
165165
`==` and `!=` between the strong type and each of the types `Ts...`.
166166
Note! While `Ts` can include other strong types, it can not refer to the
167167
strong type being defined. Use [`strong::equality`](#equality) for that.
168168
169169
Available in `strong_type/equality_with.hpp`.
170170
171171
172-
* <A name="formattable"/>`strong::formattable` adds `std::format` and/or
172+
* <A name="formattable"></A>`strong::formattable` adds `std::format` and/or
173173
[`fmt::format`](https://fmt.dev/latest/index.html) capability, based on
174174
availability of the formatting library. This can further be controlled
175175
(globally) with the defines `STRONG_HAS_STD_FORMAT` respectively
@@ -182,57 +182,57 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
182182
Available in `strong_type/formattable.hpp`.
183183
184184
185-
* <A name="hashable"/>`strong::hashable` allows `std::hash<>` on the type
185+
* <A name="hashable"></A>`strong::hashable` allows `std::hash<>` on the type
186186
(forwards to the underlying type,) to allow use in `std::unordered_set<>` and
187187
`std::unordered_map<>`.
188188
189189
Available in `strong_type/hashable.hpp`.
190190
191191
192-
* <A name="implicitly_convertible_to"/>`strong::implicitly_convertible_to<Ts...>`
192+
* <A name="implicitly_convertible_to"></A>`strong::implicitly_convertible_to<Ts...>`
193193
provides an `operator Ts() const` for each type `Ts`, providing the underlying
194194
type supports it.
195195
196196
Available in `strong_type/implicitly_convertible_to.hpp`.
197197
198198
199-
* <A name="incrementable"/>`strong::incrementable`. Provides
199+
* <A name="incrementable"></A>`strong::incrementable`. Provides
200200
[`operator++`](https://en.cppreference.com/w/cpp/language/operator_incdec) for
201201
the strong type, using the operator of the underlying type.
202202
203203
Available in `strong_type/incrementable.hpp`
204204
205205
206-
* <A name="indexed"/>`strong::indexed<D>` allows use of the subscript operator[]
206+
* <A name="indexed"></A>`strong::indexed<D>` allows use of the subscript operator[]
207207
on type `D`. This also allows member function `at(D)`, providing the
208208
underlying type supports it. A lame version `indexed<>` allows subscript on
209209
any type that works.
210210
211211
Available in `strong_type/indexed.hpp`.
212212
213213
214-
* <A name="invocable"/>`strong::invocable` provides `operator()` for
214+
* <A name="invocable"></A>`strong::invocable` provides `operator()` for
215215
the strong type, using the operator of the underlying type.
216216
217217
Available in `strong_type/invocable.hpp`
218218
219219
220-
* <A name="iostreamable"/>`strong::iostreamable`. Both
220+
* <A name="iostreamable"></A>`strong::iostreamable`. Both
221221
[`strong::istreamable`](#istreamable) and
222222
[`strong::ostreamable`](#ostreamable).
223223
224224
Available in `strong_type/iostreamable.hpp`
225225
226226
227-
* <A name="istreamable"/>`strong::istreamable`. Provides the default
227+
* <A name="istreamable"></A>`strong::istreamable`. Provides the default
228228
[`istream`](https://en.cppreference.com/w/cpp/io/basic_istream) extraction
229229
`operator>>` for the strong type, as handled by the underfying type. Provide
230230
your own operator istead if you prefer a custom istream extraction operator.
231231
232232
Available in `strong_type/istreamable.hpp`
233233
234234
235-
* <A name="iterator"/>`strong::iterator` adds functionality needed depending on
235+
* <A name="iterator"></A>`strong::iterator` adds functionality needed depending on
236236
iterator category. If the iterator type is a `random_access_iterator`,
237237
the strong type is [`strong::indexed<>`](#indexed) and
238238
[`strong::affine_point<difference>`](#affine_point). It should be
@@ -245,7 +245,7 @@ define the macro `STRONG_TYPE_IMPORT_STD_LIBRARY=1`.
245245
Available in `strong_type/iterator.hpp`
246246
247247
248-
* <A name="ordered"/>`strong::ordered` provides operators `<`, `<=`, `>=` and
248+
* <A name="ordered"></A>`strong::ordered` provides operators `<`, `<=`, `>=` and
249249
`>`. The strong type offers the same ordering relation as the underlying type.
250250
251251
Available in `strong_type/ordered.hpp`

0 commit comments

Comments
 (0)