stacktrace
stacktrace copied to clipboard
Typo in the from_current_exception example
Example from the docs fails to compile:
<source>: In function 'int main()':
<source>:14:62: error: 'from_current_exception' is not a member of 'boost::stacktrace'
14 | boost::stacktrace::stacktrace trace = boost::stacktrace::from_current_exception(); // <---
| ^~~~~~~~~~~~~~~~~~~~~~
Compiler returned: 1
Obviously, as said in the docs themselves, the full name for from_current_exception will be boost::stacktrace::stacktrace::from_current_exception.
Can I fix this?
Fixed in https://github.com/boostorg/stacktrace/pull/181