I was trying to shrink a string capacity using 'shrink_to_fit()' which throws the following error: error: 'std::__cxx11::string {aka class std::__cxx11::basic_string}' has no member named 'shrink_to_fit'|
name.shrink_to_fit();
Aucun commentaire:
Enregistrer un commentaire