std::__excepti...::exception_ptr(3cxx)

πŸ’– std::__exception_ptr::exception_ptr πŸ’–

okay bestie, welcome to the 3cxx page for std::__exception_ptr::exception_ptr β€” yes that name is long, yes we're saying it with our whole chest, and yes you're gonna understand it by the end. 🫢


✨ NAME ✨

std::__exception_ptr::exception_ptr β€” an opaque pointer to an arbitrary exception. that's it. that's the whole vibe. it's a little handle that points at an exception without you having to know what that exception actually is. mysterious. iconic. main character energy. πŸ’…


🌈 SYNOPSIS 🌈

πŸ‘‘ Public Member Functions

exception_ptr (const exception_ptr &) noexcept
exception_ptr (exception_ptr &&__o) noexcept
exception_ptr (nullptr_t) noexcept
const class std::type_info * __cxa_exception_type () const noexcept
operator bool () const noexcept
exception_ptr & operator= (const exception_ptr &) noexcept
exception_ptr & operator= (exception_ptr &&__o) noexcept
void swap (exception_ptr &) noexcept

πŸ¦‹ Friends

bool operator== (const exception_ptr &, const exception_ptr &) noexcept=default
exception_ptr std::current_exception () noexcept
template<typename _Ex > exception_ptr std::make_exception_ptr (_Ex) noexcept
void std::rethrow_exception (exception_ptr)
(Note that these are not member functions.)
void swap (exception_ptr &__lhs, exception_ptr &__rhs)

🌸 Detailed Description 🌸

An opaque pointer to an arbitrary exception. lowkey profound, highkey true. it holds onto an exception for you without revealing the tea about what's inside. πŸ™ˆ

Definition at line 90 of file exception_ptr.h.


⭐ Author ⭐

Generated automatically by Doxygen for libstdc++ from the source code. (so no, a human did not sit down and lovingly type this out β€” the robot did, and honestly? it ate. πŸ€–βœ¨)


and that's the whole page, bestie!! this was libstdc++, dated Sat Mar 1 β€” no cap, that's the source and the version, right there at the bottom of the original. mwah. πŸ’‹

πŸ“¦ where this page comes from