std::stackt...ktrace_entry(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

okay so the header on this one is std::stackt...ktrace_entry(3) from the C++ Standard Libary manual, and yes bestie the page name is literally repeated. We’re in constructor land, C++23 edition β€” std::stacktrace_entry::stacktrace_entry is the main character today πŸ’…βœ¨

🌸 NAME 🌸

std::stacktrace_entry::stacktrace_entry β€” the constructor page for std::stacktrace_entry::stacktrace_entry. Same name twice, iconic behavior, no notes.

✨ Synopsis ✨

Here’s the exact signature tea β˜•:

constexpr stacktrace_entry() noexcept;

(1) (since C++23)

constexpr stacktrace_entry( const stacktrace_entry& other )

(2) (since C++23)

noexcept;
yes, the noexcept; is sitting on its own line in the source layout β€” preserving the drama, not reinventing it πŸ’€
  1. Default constructor. Creates an empty stacktrace_entry.
  2. Copy constructor. Creates a copy of other.

πŸŽ€ Parameters πŸŽ€

  • other β€” another stacktrace_entry to copy from.

🌈 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. That’s the whole note, bestie β€” don’t try to manifest a non-empty one out of thin air 🫢

πŸ¦‹ EXAMPLE πŸ¦‹

This section is incomplete Reason: no example

so yeah, no example here 😭 the page said it, not me.

πŸ‘‘ SEE ALSO πŸ‘‘

  • constructor β€” constructs a new source_location with implementation-defined values (public member function of std::source_location)

🧚 CATEGORY 🧚

Category: * Todo no example


that’s the whole page, bestie. source: http://cppreference.com, dated 2024.06.10, chillin’ under std::stackt...ktrace_entry(3). mwah πŸ’–

πŸ“¦ where this page comes from