Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::stacktrace_entry::description

      From cppreference.com
      <cpp‎ |utility‎ |stacktrace entry
       
       
      Diagnostics library
       
       
      std::string description()const;
      (since C++23)

      Returns a description of the evaluation represented by*this on success, or an empty string on failure other than allocation failure, e.g. when*this is empty.

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      A description of the represented evaluation on success, an empty string on failure other than allocation failure.

      [edit]Exceptions

      Throwsstd::bad_alloc if memory for the internal data structures or the resulting string cannot be allocated.

      [edit]Notes

      Custom allocators support for this function is not provided, because the implementations usually require platform specific allocations, system calls and a lot of CPU intensive work, while a custom allocator does not provide benefits for this function as the platform specific operations take an order of magnitude more time than the allocation.

      [edit]Example

      This section is incomplete
      Reason: no example
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/utility/stacktrace_entry/description&oldid=126238"

      [8]ページ先頭

      ©2009-2025 Movatter.jp