开发者

What are the STL string limits?

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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜