From Jason Turner

[stacktrace.basic.nonmem]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpk_lfqe67/{from.md → to.md} +43 -0
tmp/tmpk_lfqe67/{from.md → to.md} RENAMED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Non-member functions <a id="stacktrace.basic.nonmem">[[stacktrace.basic.nonmem]]</a>
2
+
3
+ ``` cpp
4
+ template<class Allocator>
5
+ void swap(basic_stacktrace<Allocator>& a, basic_stacktrace<Allocator>& b)
6
+ noexcept(noexcept(a.swap(b)));
7
+ ```
8
+
9
+ *Effects:* Equivalent to `a.swap(b)`.
10
+
11
+ ``` cpp
12
+ string to_string(const stacktrace_entry& f);
13
+ ```
14
+
15
+ *Returns:* A string with a description of `f`.
16
+
17
+ *Recommended practice:* The description should provide information about
18
+ the contained evaluation, including information from `f.source_file()`
19
+ and `f.source_line()`.
20
+
21
+ ``` cpp
22
+ template<class Allocator>
23
+ string to_string(const basic_stacktrace<Allocator>& st);
24
+ ```
25
+
26
+ *Returns:* A string with a description of `st`.
27
+
28
+ [*Note 1*: The number of lines is not guaranteed to be equal to
29
+ `st.size()`. — *end note*]
30
+
31
+ ``` cpp
32
+ ostream& operator<<(ostream& os, const stacktrace_entry& f);
33
+ ```
34
+
35
+ *Effects:* Equivalent to: `return os << to_string(f);`
36
+
37
+ ``` cpp
38
+ template<class Allocator>
39
+ ostream& operator<<(ostream& os, const basic_stacktrace<Allocator>& st);
40
+ ```
41
+
42
+ *Effects:* Equivalent to: `return os << to_string(st);`
43
+