<legend id='Eulfr'><style id='Eulfr'><dir id='Eulfr'><q id='Eulfr'></q></dir></style></legend>
      <bdo id='Eulfr'></bdo><ul id='Eulfr'></ul>

        <i id='Eulfr'><tr id='Eulfr'><dt id='Eulfr'><q id='Eulfr'><span id='Eulfr'><b id='Eulfr'><form id='Eulfr'><ins id='Eulfr'></ins><ul id='Eulfr'></ul><sub id='Eulfr'></sub></form><legend id='Eulfr'></legend><bdo id='Eulfr'><pre id='Eulfr'><center id='Eulfr'></center></pre></bdo></b><th id='Eulfr'></th></span></q></dt></tr></i><div id='Eulfr'><tfoot id='Eulfr'></tfoot><dl id='Eulfr'><fieldset id='Eulfr'></fieldset></dl></div>
      1. <tfoot id='Eulfr'></tfoot>
      2. <small id='Eulfr'></small><noframes id='Eulfr'>

        为什么 Visual C++ 缺乏重构功能?

        Why is Visual C++ lacking refactor functionality?(为什么 Visual C++ 缺乏重构功能?)
          <tbody id='cJEdL'></tbody>

        <small id='cJEdL'></small><noframes id='cJEdL'>

      3. <tfoot id='cJEdL'></tfoot>
        <i id='cJEdL'><tr id='cJEdL'><dt id='cJEdL'><q id='cJEdL'><span id='cJEdL'><b id='cJEdL'><form id='cJEdL'><ins id='cJEdL'></ins><ul id='cJEdL'></ul><sub id='cJEdL'></sub></form><legend id='cJEdL'></legend><bdo id='cJEdL'><pre id='cJEdL'><center id='cJEdL'></center></pre></bdo></b><th id='cJEdL'></th></span></q></dt></tr></i><div id='cJEdL'><tfoot id='cJEdL'></tfoot><dl id='cJEdL'><fieldset id='cJEdL'></fieldset></dl></div>

          <legend id='cJEdL'><style id='cJEdL'><dir id='cJEdL'><q id='cJEdL'></q></dir></style></legend>

              • <bdo id='cJEdL'></bdo><ul id='cJEdL'></ul>
                • 本文介绍了为什么 Visual C++ 缺乏重构功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  在 Visual Studio 2008 中使用 C++ 编程时,为什么在使用 C# 时没有在重构菜单中看到的类似功能?

                  When programming in C++ in Visual Studio 2008, why is there no functionality like that seen in the refactor menu when using C#?

                  我经常使用重命名,但当它不存在时,您真的很想念它.我确定您可以获得提供此功能的插件,但为什么在使用 C++ 时不将其集成到 IDE 中?这是因为必须解析 C++ 的方式存在一些问题吗?

                  I use Rename constantly and you really miss it when it's not there. I'm sure you can get plugins that offer this, but why isn't it integrated in to the IDE when using C++? Is this due to some gotcha in the way that C++ must be parsed?

                  推荐答案

                  C++ 的语法和语义使得正确实现重构功能极其困难.实现一些相对简单的方法来覆盖 90% 的情况是可能的,但在剩下的 10% 的情况下,这个简单的解决方案会通过更改您不想更改的内容来严重破坏您的代码.

                  The syntax and semantics of C++ make it incredibly difficult to correctly implement refactoring functionality. It's possible to implement something relatively simple to cover 90% of the cases, but in the remaining 10% of cases that simple solution will horribly break your code by changing things you never wanted to change.

                  阅读http://yosefk.com/c++fqa/defective.html#defect-8 简要讨论 C++ 中的任何重构代码必须处理的困难.

                  Read http://yosefk.com/c++fqa/defective.html#defect-8 for a brief discussion of the difficulties that any refactoring code in C++ has to deal with.

                  微软显然已决定为 C++ 开发这一特殊功能,让第三方开发人员尽其所能.

                  Microsoft has evidently decided to punt on this particular feature for C++, leaving it up to third-party developers to do what they can.

                  这篇关于为什么 Visual C++ 缺乏重构功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to print vector#39;s data(如何打印矢量的数据)
                  Visual C++ appends 0xCC (int3) bytes at the end of functions(Visual C++ 在函数末尾附加 0xCC (int3) 字节)
                  How to use a variable inside a _T wrapper?(如何在 _T 包装器中使用变量?)
                  MSVC++ warning flags(MSVC++ 警告标志)
                  How to read file which contains uxxxx in vc++(如何在vc++中读取包含uxxxx的文件)
                  stack overflow error in C++ program(C++程序中的堆栈溢出错误)

                  <small id='UIXoO'></small><noframes id='UIXoO'>

                  • <bdo id='UIXoO'></bdo><ul id='UIXoO'></ul>
                        <tbody id='UIXoO'></tbody>

                            <i id='UIXoO'><tr id='UIXoO'><dt id='UIXoO'><q id='UIXoO'><span id='UIXoO'><b id='UIXoO'><form id='UIXoO'><ins id='UIXoO'></ins><ul id='UIXoO'></ul><sub id='UIXoO'></sub></form><legend id='UIXoO'></legend><bdo id='UIXoO'><pre id='UIXoO'><center id='UIXoO'></center></pre></bdo></b><th id='UIXoO'></th></span></q></dt></tr></i><div id='UIXoO'><tfoot id='UIXoO'></tfoot><dl id='UIXoO'><fieldset id='UIXoO'></fieldset></dl></div>
                          1. <tfoot id='UIXoO'></tfoot><legend id='UIXoO'><style id='UIXoO'><dir id='UIXoO'><q id='UIXoO'></q></dir></style></legend>