What are the string limits for the Standa开发者_开发技巧rd Template Library in C++?
#include <iostream>
#include <string>
int main() {
std::cout << std::string().max_size() << std::endl;
return 0;
}
What are the string limits for the Standa开发者_开发技巧rd Template Library in C++?
#include <iostream>
#include <string>
int main() {
std::cout << std::string().max_size() << std::endl;
return 0;
}
精彩评论