Skip to content

Commit eb1ce2f

Browse files
committed
Fix validator.w3c.org errors
Except the inner <pre> inside <h4>
1 parent f398a55 commit eb1ce2f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stacktrace.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,16 @@ <h2>I. Motivation</h2>
4040
<p>Pretty often assertions can't describe the whole picture of bug and does not provide enough information to locate the problem. For example, you can see the following message on out-of-range access:
4141
</p>
4242
<p><code>
43-
../../../boost/array.hpp:123: T& boost::array<T, N>::operator[](boost::array<T, N>::size_type) [with T = int; long unsigned int N = 5ul]: Assertion '(i < N)&&("out of range")' failed.
43+
../../../boost/array.hpp:123: T& boost::array&lt;T, N&gt;::operator[](boost::array&lt;T, N&gt;::size_type) [with T = int; long unsigned int N = 5ul]: Assertion '(i &lt; N)&&("out of range")' failed.
4444
Aborted (core dumped)</code>
4545
</p>
4646
<p>This assert can be in any translation unit including the <code>boost/array.hpp</code> header.</p>
4747
<p>With adding of the proposed classes you may see the following message:
4848
<pre>
49-
Expression 'i < N' is false in function 'T& boost::array<T, N>::operator[](boost::array<T, N>::size_type) [with T = int; long unsigned int N = 5ul; boost::array<T, N>::reference = int&; boost::array<T, N>::size_type = long unsigned int]': out of range.
49+
Expression 'i &lt; N' is false in function 'T& boost::array&lt;T, N&gt;::operator[](boost::array&lt;T, N&gt;::size_type) [with T = int; long unsigned int N = 5ul; boost::array&lt;T, N&gt;::reference = int&; boost::array&lt;T, N&gt;::size_type = long unsigned int]': out of range.
5050
Backtrace:
5151
0# boost::assertion_failed_msg(char const*, char const*, char const*, char const*, long) at ../example/assert_handler.cpp:39
52-
1# boost::array<int, 5ul>::operator[](unsigned long) at ../../../boost/array.hpp:124
52+
1# boost::array&lt;int, 5ul&gt;::operator[](unsigned long) at ../../../boost/array.hpp:124
5353
2# bar(int) at ../example/assert_handler.cpp:17
5454
3# foo(int) at ../example/assert_handler.cpp:25
5555
4# bar(int) at ../example/assert_handler.cpp:17
@@ -141,7 +141,7 @@ <h4><code>explicit frame(native_frame_ptr_t addr) noexcept;</code></h4>
141141
<h4><code>frame(const frame &) = default;</code></h4>
142142
<h4><code>explicit frame(native_frame_ptr_t addr) noexcept;</code></h4>
143143
<p>Constructs frame that references addr and could later generate information about that address using platform specific features.</p>
144-
<h4><code>template<typename T> explicit frame(T * function_addr) noexcept;</code></h4>
144+
<h4><code>template&lt;typename T&gt; explicit frame(T * function_addr) noexcept;</code></h4>
145145
<p>Constructs frame that references function_addr and could later generate information about that function using platform specific features.</p>
146146
<h4><code>constexpr frame & operator=(const frame &) = default;</code></h4>
147147
<h3><code>frame</code> public member functions</h3>

0 commit comments

Comments
 (0)