Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::stacktrace_entry::operator bool

      From cppreference.com
      <cpp‎ |utility‎ |stacktrace entry
       
       
      Diagnostics library
       
       
      constexprexplicit operatorbool()constnoexcept;
      (since C++23)

      Checks whether thestacktrace_entry is non-empty, i.e. it represents an evaluation in a stacktrace.

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      true if thestacktrace_entry is non-empty,false otherwise.

      [edit]Notes

      A non-emptystacktrace_entry can be obtained from astd::basic_stacktrace created bystd::basic_stacktrace::current or a copy of suchstd::basic_stacktrace.

      An emptystacktrace_entry can be created by thedefault constructor.

      [edit]Example

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

      [8]ページ先頭

      ©2009-2025 Movatter.jp