Namespaces
Variants
Views
Actions

std::stacktrace_entry::stacktrace_entry

From cppreference.com
 
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
Integer comparison functions
(C++20)(C++20)(C++20)   
(C++20)
Swap and type operations
(C++14)
(C++11)

(C++11)
(C++11)
(C++17)
Common vocabulary types
(C++11)
(C++17)
(C++17)
(C++17)
(C++11)
(C++17)

Elementary string conversions
(C++17)
(C++17)

Stacktrace
 
std::stacktrace_entry
Member functions
stacktrace_entry::stacktrace_entry
(C++23)
Observers
Query
Non-member functions
(C++23)(C++23)
(C++23)
(C++23)
Helper classes
 
constexpr stacktrace_entry() noexcept;
(1) (since C++23)
constexpr stacktrace_entry( const stacktrace_entry& other ) noexcept;
(2) (since C++23)
1) Default constructor. Creates an empty stacktrace_entry.
2) Copy constructor. Creates a copy of other.

Contents

[edit] Parameters

other - another stacktrace_entry to copy from

[edit] Notes

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.

[edit] Example

[edit] See also

constructs a new source_location with implementation-defined values
(public member function of std::source_location) [edit]