std::indire...irect_array(3)

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

okay bestie, welcome to the std::indire...irect_array(3) page from the C++ Standard Libary manual πŸ’– this one is short, it’s giving β€œdestructor cameo,” and we’re gonna read it together, no cap.

πŸ’– NAME πŸ’–

std::indirect_array::~indirect_array β€” std::indirect_array::~indirect_array


✨ Synopsis ✨

~indirect_array();

So the signature is literally ~indirect_array(); β€” cute, tiny, and to the point πŸŽ€

This destructor destroys the indices in the array. That’s the whole job, periodt.

important vibe check: the elements referred to by the object are not modified. Like, not even a little. The destructor is doing its own thing and leaving those elements alone πŸ™ˆ

🫢 that’s the tea, bestie! this page came from http://cppreference.com, dated 2024.06.10, in the C++ Standard Libary manual β€” bye and slay your destructors πŸ’…βœ¨
πŸ“¦ where this page comes from