std::valarray::~valarray(3)

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

πŸ¦‹ NAME πŸ¦‹

std::valarray::~valarray β€” okay bestie, this is the destructor page for std::valarray, and the NAME line is literally std::valarray::~valarray - std::valarray::~valarray. We're in the C++ Standard Libary manual, section 3 (yes, β€œLibary” is spelled like that up top, iykyk πŸ’…).


✨ Synopsis ✨

~valarray()

So this destructor destroys the numeric array. The destructors of the elements are called, and the used storage is deallocated. Cleanup mode activated, no cap 🧹✨.


🌸 Complexity 🌸

Linear in the size of the numeric array. That's the complexity, bestie β€” linear in the size of the numeric array, periodt. πŸ“πŸ’–


Source/version: http://cppreference.com β€” date: 2024.06.10. Byeee, mwah πŸ«ΆπŸ’‹

πŸ“¦ where this page comes from