问题 Is it possible to tune std::string Small/Short String Optimization somehow? For example, if I have to work with a lot of quite short strings but longer than 15 chars (like lastname + ", " + firstname + ", " + middlename which length is usually in range of [20; 40] ). Upd: According to this looks like the answer is no. But when I opened basic_string.h file I've found this: template<typename _CharT, typename _Traits, typename _Alloc> class basic_string { ... enum { _S_local_capacity = 15 /