view the default functions generated by a compiler?

后端 未结 5 1809
滥情空心
滥情空心 2020-12-28 22:17

Is there any way to view the default functions ( e.g., default copy constructor, default assignment operator ) generated by a compiler such as VC++2008 for a class which doe

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-28 22:44

    An object-viewing tool (like objdump or dumpbin) can disassemble the output object files for you. Then you can poke around and see what instructions are getting emitted for the functions/methods you care about.

提交回复
热议问题