Fix broken HTML link rendering in the rationale section of index.adoc

This replaces a raw `<a href...>`, which was rendered verbatim, with the
AsciiDoc link syntax.
This commit is contained in:
Gennaro Prota
2025-10-31 11:15:18 +01:00
parent e19c647bc7
commit 7c4dbfa2ac

View File

@@ -46,12 +46,11 @@ an unsigned long `n`, the bit at position `i` of the bitset has the same value
as `(n >> i) & 1`. as `(n >> i) & 1`.
== Rationale == Rationale
Because of the proxy reference type, `dynamic_bitset` is not a <a Because of the proxy reference type, `dynamic_bitset` is not a
href="https://en.cppreference.com/w/cpp/named_req/Container.html">Container</a> https://en.cppreference.com/w/cpp/named_req/Container.html[Container] and its
and its iterators do not satisfy the requirements for a LegacyForwardIterator. iterators do not satisfy the requirements for a LegacyForwardIterator. This
This means that its iterators are not usable with many standard algorithms. means that its iterators are not usable with many standard algorithms. However,
However, `dynamic_bitset` provides C++20 iterators which can be used with `dynamic_bitset` provides C++20 iterators which can be used with ranges.
ranges.
Some people prefer the name "toggle" to "flip". The name "flip" was chosen Some people prefer the name "toggle" to "flip". The name "flip" was chosen
because that is the name used in `std::bitset`. In fact, most of the function because that is the name used in `std::bitset`. In fact, most of the function