table of contents
other versions
- Tumbleweed 2026.11.13-1.1
- Leap-16.0
| std::basic_stacktrace::at(3) | C++ Standard Libary | std::basic_stacktrace::at(3) |
NAME¶
std::basic_stacktrace::at - std::basic_stacktrace::at
Synopsis¶
const_reference at( size_type pos ) const; (since C++23)
Returns a reference to the entry at specified location pos, with bounds checking.
If pos is not within the range of the stacktrace, an exception of type std::out_of_range is thrown.
Parameters¶
pos - position of the stacktrace entry to return
Return value¶
Reference to the requested entry.
Exceptions¶
std::out_of_range if pos >= size().
Complexity¶
Constant.
Example¶
This section is incomplete
Reason: no example
See also¶
operator[] access specified stacktrace entry
(public member function)
| 2026.11.10 | http://cppreference.com |