Files
2025-10-25 03:02:53 +03:00

4.3 KiB

[stacktrace.basic.obs]

19 Diagnostics library [diagnostics]

19.6 Stacktrace [stacktrace]

19.6.4 Class template basic_stacktrace [stacktrace.basic]

19.6.4.3 Observers [stacktrace.basic.obs]

🔗

using const_iterator = implementation-defined;

1

#

The type modelsrandom_access_iterator ([iterator.concept.random.access]) and meets theCpp17RandomAccessIterator requirements ([random.access.iterators]).

🔗

allocator_type get_allocator() const noexcept;

2

#

Returns: frames_.get_allocator().

🔗

const_iterator begin() const noexcept; const_iterator cbegin() const noexcept;

3

#

Returns: An iterator referring to the first element in frames_.

If empty() is true, then it returns the same value as end().

🔗

const_iterator end() const noexcept; const_iterator cend() const noexcept;

4

#

Returns: The end iterator.

🔗

const_reverse_iterator rbegin() const noexcept; const_reverse_iterator crbegin() const noexcept;

5

#

Returns: reverse_iterator(cend()).

🔗

const_reverse_iterator rend() const noexcept; const_reverse_iterator crend() const noexcept;

6

#

Returns: reverse_iterator(cbegin()).

🔗

bool empty() const noexcept;

7

#

Returns: frames_.empty().

🔗

size_type size() const noexcept;

8

#

Returns: frames_.size().

🔗

size_type max_size() const noexcept;

9

#

Returns: frames_.max_size().

🔗

const_reference operator[](size_type frame_no) const;

10

#

Hardened preconditions: frame_no < size() is true.

11

#

Returns: frames_[frame_no].

12

#

Throws: Nothing.

🔗

const_reference at(size_type frame_no) const;

13

#

Returns: frames_[frame_no].

14

#

Throws: out_of_range if frame_no >= size().