MCPcopy Create free account
hub / github.com/boostorg/stacktrace / operator[]

Function operator[]

include/boost/stacktrace/stacktrace.hpp:259–261  ·  view source on GitHub ↗

@param frame_no Zero based index of frame to return. 0 is the function index where stacktrace was constructed and index close to this->size() contains function `main()`. @returns frame that references the actual frame info, stored inside *this. @b Complexity: O(1). @b Async-Handler-Safety: \asyncsafe.

Source from the content-addressed store, hash-verified

257 ///
258 /// @b Async-Handler-Safety: \asyncsafe.
259 const_reference operator[](std::size_t frame_no) const noexcept {
260 return impl_[frame_no];
261 }
262
263 /// @b Complexity: O(1)
264 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected