const_reference operator[]( size_type pos ) const; | (since C++23) |
Returns a reference to the entry at specified location pos
. No bounds checking is performed.
If pos
is not within the range of the stacktrace, i.e. pos >= size()
, the behavior is undefined.
pos | - | position of the stacktrace entry to return |
Reference to the requested entry.
Throws nothing.
Constant.
(C++23) | access specified stacktrace entry with bounds checking (public member function) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/basic_stacktrace/operator_at