Skip to content

Commit f398a55

Browse files
committed
Format raw HTML code using empty lines
1 parent 309d78b commit f398a55

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

stacktrace.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,15 @@ <h2>III. Design Decisions</h2>
9090
<p>The design is based on Boost.Stacktrace, an popular library that does not depend on any non-standard library components and provides the STD-like interface.</p>
9191
<p>Note about signal safety: we can't offer the proposal which could be signal-safe on any platform because it's not possible to implement. <!-- add note about custom allocator? --></p>
9292
<p>The stack frame sequence is stored inside the <code>basic_stacktrace</code> class, the one stack frame is stored inside the <code>frame</code> class.</p>
93+
9394
<h3><code>basic_stacktrace</code> constructors</h3>
9495
<h4><code>basic_stacktrace() noexcept;</code></h4>
9596
<p>Stores the current function call sequence inside *this without any decoding or any other heavy platform specific operations.</p>
9697
<h4><code>explicit basic_stacktrace(const allocator_type & a) noexcept;</code></h4>
9798
<p>Stores the current function call sequence inside *this without any decoding or any other heavy platform specific operations.</p>
9899
<h4><code>basic_stacktrace(std::size_t skip, std::size_t max_depth, const allocator_type & a = allocator_type()) noexcept;</code></h4>
99100
<p>Stores [skip; skip + max_depth) of the current function call sequence inside *this without any decoding or any heavy platform specific operations.</p>
101+
100102
<h3><code>basic_stacktrace</code> member functions</h3>
101103
<h4><code>size_type size() const noexcept;</code></h4>
102104
<h4><code>const_reference operator[](std::size_t frame_no) const noexcept;</code></h4>
@@ -109,6 +111,7 @@ <h4><code>explicit operator bool() const noexcept;</code></h4>
109111
<h4><code>bool empty() const noexcept;</code></h4>
110112
<p>Allows to check that stack trace failed.</p>
111113
<h4><code>const std::vector&lt; std::stacktrace::frame, Allocator &gt; & as_vector() const noexcept;</code></h4>
114+
112115
<h3><code>basic_stacktrace</code> operator member functions</h3>
113116
<h4>
114117
<pre>template &lt;typename Allocator1, typename Allocator2&gt;
@@ -119,6 +122,7 @@ <h4>
119122
<p>
120123
Auto-generated comparison operators that provide platform dependent ordering and have amortized O(1) complexity; O(size()) worst case complexity; are Async-Handler-Safe.
121124
</p>
125+
122126
<h3><code>basic_stacktrace</code> public static functions</h3>
123127
<h4><code>template&lt;typename Char, typename Trait&gt;
124128
static basic_stacktrace
@@ -129,6 +133,7 @@ <h4><code>static basic_stacktrace
129133
from_dump(const void * begin, std::size_t buffer_size_in_bytes,
130134
const allocator_type & a = allocator_type());</code></h4>
131135
<p>Constructs stacktrace from raw memory dump. Terminating zero frame is discarded.</p>
136+
132137
<h3><code>frame</code> constructors</h3>
133138
<h4><code>frame() noexcept;</code></h4>
134139
<h4><code>explicit frame(native_frame_ptr_t addr) noexcept;</code></h4>
@@ -150,11 +155,13 @@ <h4><code>std::string source_line() const;</code></h4>
150155
<p>Returns code line in the source line, where the function of the frame is defined. Throws std::bad_alloc if not enough memory to construct resulting string.</p>
151156
<h4><code>constexpr bool empty() const;</code></h4>
152157
<p>Checks that frame is not references NULL address.</p>
158+
153159
<h3><code>frame</code> operator member functions</h3>
154160
<h4>std::strong_ordering operator &lt;=&gt;(const frame & lhs, const frame & rhs) = default;</h4>
155161
<p>
156162
Comparison operators that provide platform dependent ordering and have O(1) complexity; are Async-Handler-Safe.
157163
</p>
164+
158165
<h2>IV. Proposed Interface</h2>
159166
<h3>Header &lt;stacktrace&gt;</h3>
160167
<pre>

0 commit comments

Comments
 (0)