From Jason Turner

[stacktrace.syn]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmplr5r5_rt/{from.md → to.md} +45 -0
tmp/tmplr5r5_rt/{from.md → to.md} RENAMED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Header `<stacktrace>` synopsis <a id="stacktrace.syn">[[stacktrace.syn]]</a>
2
+
3
+ ``` cpp
4
+ #include <compare> // see [compare.syn]
5
+
6
+ namespace std {
7
+ // [stacktrace.entry], class stacktrace_entry
8
+ class stacktrace_entry;
9
+
10
+ // [stacktrace.basic], class template basic_stacktrace
11
+ template<class Allocator>
12
+ class basic_stacktrace;
13
+
14
+ // basic_stacktrace typedef-names
15
+ using stacktrace = basic_stacktrace<allocator<stacktrace_entry>>;
16
+
17
+ // [stacktrace.basic.nonmem], non-member functions
18
+ template<class Allocator>
19
+ void swap(basic_stacktrace<Allocator>& a, basic_stacktrace<Allocator>& b)
20
+ noexcept(noexcept(a.swap(b)));
21
+
22
+ string to_string(const stacktrace_entry& f);
23
+
24
+ template<class Allocator>
25
+ string to_string(const basic_stacktrace<Allocator>& st);
26
+
27
+ ostream& operator<<(ostream& os, const stacktrace_entry& f);
28
+ template<class Allocator>
29
+ ostream& operator<<(ostream& os, const basic_stacktrace<Allocator>& st);
30
+
31
+ // [stacktrace.format], formatting support
32
+ template<> struct formatter<stacktrace_entry>;
33
+ template<class Allocator> struct formatter<basic_stacktrace<Allocator>>;
34
+
35
+ namespace pmr {
36
+ using stacktrace = basic_stacktrace<polymorphic_allocator<stacktrace_entry>>;
37
+ }
38
+
39
+ // [stacktrace.basic.hash], hash support
40
+ template<class T> struct hash;
41
+ template<> struct hash<stacktrace_entry>;
42
+ template<class Allocator> struct hash<basic_stacktrace<Allocator>>;
43
+ }
44
+ ```
45
+