std::basic_...asic_string(3)

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

This is the std::basic_...asic_string(3) page, bestie πŸ’… β€” folded in from the C++ Standard Libary manual. The actual icon of this page? std::basic_string::~basic_string. Obsessed. πŸŽ€


πŸ’– NAME πŸ’–

std::basic_string::~basic_string - std::basic_string::~basic_string

Yep, it’s the destructor page, and it’s lowkey serving cleanup realness. ✨

πŸ“œ Synopsis πŸ“œ

~basic_string();  (constexpr since C++20)

Okay so this is the destructor, and it does exactly what it says on the tin: it destructs the basic_string. The destructors of the elements are called, and the used storage is deallocated. That’s the whole vibe. 🫢

πŸ¦‹ Complexity πŸ¦‹

Typically constant (formally linear). No cap. πŸ’€


Source: http://cppreference.com Β· dated 2024.06.10 πŸŽ€ β€” bye bestie! πŸ’–

πŸ“¦ where this page comes from