From Jason Turner

[stacktrace.entry.query]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmprsf8emi6/{from.md → to.md} +41 -0
tmp/tmprsf8emi6/{from.md → to.md} RENAMED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### Query <a id="stacktrace.entry.query">[[stacktrace.entry.query]]</a>
2
+
3
+ [*Note 1*: All the `stacktrace_entry` query functions treat errors
4
+ other than memory allocation errors as “no information available” and do
5
+ not throw in that case. — *end note*]
6
+
7
+ ``` cpp
8
+ string description() const;
9
+ ```
10
+
11
+ *Returns:* A description of the evaluation represented by `*this`, or an
12
+ empty string.
13
+
14
+ *Throws:* `bad_alloc` if memory for the internal data structures or the
15
+ resulting string cannot be allocated.
16
+
17
+ ``` cpp
18
+ string source_file() const;
19
+ ```
20
+
21
+ *Returns:* The presumed or actual name of the source
22
+ file [[cpp.predefined]] that lexically contains the expression or
23
+ statement whose evaluation is represented by `*this`, or an empty
24
+ string.
25
+
26
+ *Throws:* `bad_alloc` if memory for the internal data structures or the
27
+ resulting string cannot be allocated.
28
+
29
+ ``` cpp
30
+ uint_least32_t source_line() const;
31
+ ```
32
+
33
+ *Returns:* `0`, or a 1-based line number that lexically relates to the
34
+ evaluation represented by `*this`. If `source_file` returns the presumed
35
+ name of the source file, returns the presumed line number; if
36
+ `source_file` returns the actual name of the source file, returns the
37
+ actual line number.
38
+
39
+ *Throws:* `bad_alloc` if memory for the internal data structures cannot
40
+ be allocated.
41
+