Visual Studio 2015中的小字符串优化缓冲区大小 [英] Small string optimization buffer size in Visual Studio 2015

查看:232
本文介绍了Visual Studio 2015中的小字符串优化缓冲区大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用Visual Studio 2015 Update 3,并想知道std的缓冲区大小是多少::小字符串优化的字符串?

I am currently working with Visual Studio 2015 Update 3 and was wondering what is the buffer size of std::string for the small string optimization?

Google这次没有帮助我。

Google did not help my cause this time.

推荐答案

在6/13/2017 12:26 PM,DanielSolisH写道:

On 6/13/2017 12:26 PM, DanielSolisH wrote:


我目前正在使用Visual Studio 2015 Update 3,并且想知道小字符串优化的std :: string的缓冲区大小是什么?

I am currently working with Visual Studio 2015 Update 3 and was wondering what is the buffer size of std::string for the small string optimization?

你有std :: string的源代码。您可以检查它,和/或在调试器下进入它。

You have source code for std::string. You can examine it, and/or step into it under debugger.


这篇关于Visual Studio 2015中的小字符串优化缓冲区大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆