constexpr explicit operator bool() const noexcept; | (since C++23) |
Checks whether the stacktrace_entry
is non-empty, i.e. it represents an evaluation in a stacktrace.
(none).
true
if the stacktrace_entry
is non-empty, false
otherwise.
A non-empty stacktrace_entry
can be obtained from a std::basic_stacktrace
created by std::basic_stacktrace::current
or a copy of such std::basic_stacktrace
.
An empty stacktrace_entry
can be created by the default constructor.
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/utility/stacktrace_entry/operator_bool