std::basic_string<CharT,Traits,Allocator>::~basic_string
From cppreference.com
< cpp | string | basic string
Revision as of 15:14, 18 October 2024 by Space Mission (Talk | contribs)
~basic_string(); |
(constexpr since C++20) | |
Destructs the basic_string
. The destructors of the elements are called and the used storage is deallocated.
[edit] Complexity
Typically constant (formally linear).