Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::basic_stacktrace<Allocator>::at

      From cppreference.com
      <cpp‎ |utility‎ |basic stacktrace
       
       
      Diagnostics library
       
       
      const_reference at( size_type pos)const;
      (since C++23)

      Returns a reference to the entry at specified locationpos, with bounds checking.

      Ifpos is not within the range of the stacktrace, an exception of typestd::out_of_range is thrown.

      Contents

      [edit]Parameters

      pos - position of the stacktrace entry to return

      [edit]Return value

      Reference to the requested entry.

      [edit]Exceptions

      std::out_of_range ifpos>= size().

      [edit]Complexity

      Constant.

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      access specified stacktrace entry
      (public member function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/basic_stacktrace/at&oldid=129000"

      [8]ページ先頭

      ©2009-2025 Movatter.jp