std::basic_string<CharT,Traits,Allocator>::~basic_string - cppreference.com
Namespaces
Variants

std::basic_string<CharT,Traits,Allocator>::~basic_string

From cppreference.com
 
 
 
std::basic_string
 

Destructs the basic_string. The destructors of the elements are called and the used storage is deallocated.

Complexity

Typically constant (formally linear).