- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
在 Visual Studio 中调试 C++ 时,如果将监视添加到对象上,您会看到“px”和“pn”作为其直接子项。
我一直将“px”理解为指向实际对象的指针,但我很好奇这些“px”、“pn”和“pi”代码实际上是什么的缩写?
最佳答案
我想你看到的是 boost::shared_ptr
实例的内容,它确实包含 px
和 pn
成员:
element_type * px; // contained pointer
boost::detail::shared_count pn; // reference counter
因此,这些不是某种神奇的调试器变量,而是真正的类字段,您不会在常规对象中看到它们。
关于c++ - 在 Visual Studio 中调试时的 Px、Pn,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28853883/
This question already has answers here: Placement of the asterisk in pointer declarations
关闭。此题需要details or clarity 。目前不接受答案。 想要改进这个问题吗?通过 editing this post 添加详细信息并澄清问题. 已关闭 7 年前。 Improve th
我们可以获取安卓手机的CDMA Pilot PN号码吗?PN码是CDMA手机的Pseudo-random Noise code,它是CDMA系统非常重要的参数,但是经过几个星期的搜索,我找不到获取方式
如何检查PN表达是否正确? #include #include struct sNode { char data; struct sNode *next; }; void push
我在理解 FILES_${PN} 时遇到了麻烦即使在我阅读了手册之后。例如,我正在处理 this example制作启动脚本。在我写了类似的东西之后,我收到了这些错误消息。 ERROR: initsc
即使在我阅读了手册之后,我仍然无法理解 FILES_${PN}。例如,我正在研究 this example制作启动脚本。在我写了类似的东西之后,我得到了这些错误信息。 ERROR: initscrip
在 Visual Studio 中调试 C++ 时,如果将监视添加到对象上,您会看到“px”和“pn”作为其直接子项。 我一直将“px”理解为指向实际对象的指针,但我很好奇这些“px”、“pn”和“p
我已经为openvpn源代码安装并配置了doxygen,但是我无法获取它的调用图和图表。我在代码文档的文件列表中只得到 config-msvc.h 和 config.h 文件。谁能告诉我如何配置 do
有人可以将以下波兰语表示法翻译成对应的 SQL 表示法吗: ['|', '&', ('is_company','=', True),('parent_id', '=', False),('co
我刚开始使用 eBay API,但找不到满足我需求的方法。此外,这通常应该非常简单。 我想知道是否可以将任何 eBay URL 传递给 API (PHP) 并获得添加了我的附属参数的新链接。 它的工作
我正在为 openembedded-classic 编写 openembedded/bitbake 配方。我的食谱 RDEPENDS 依赖于 keyutils,一切似乎都有效,除了一件事:我想将一行附
是否可以使用 LINQ 转换包含坐标元组 (x, y) 的平面 double 组,即[x0,y0, ..., xN, yN] 到长度为一半的数组,其中包含包装在 Point 类中的相同坐标,即 [p0
我用以下查询创建了 3 个表: S表: CREATE TABLE S ( SN INT, SNAME CHAR(10), RATING FLOAT, CITY CHAR
我看到我的推送通知有一个奇怪的行为,想知道是否有人对我做错了什么或应该做什么有任何建议。 我的application:(UIApplication*)application didReceiveRem
有人可以帮我解决我在 boost::smart_ptr 中尝试以多态方式返回对象时遇到的以下错误吗: 1>C:\Program Files\Boost\boost_1_54_0\boost/smart
我是一名优秀的程序员,十分优秀!