美文网首页
c++ 面试问题5 异常操作

c++ 面试问题5 异常操作

作者: HenryTien | 来源:发表于2017-04-05 08:22 被阅读5次

    What happens when a function throws an exception that was not specified by an exception specification for this function?

    How do I throw polymorphically?
    When I throw this object, how many times will it be copied?
    But MFC seems to encourage the use of catch-by-pointer; should I do the same?
    What are some ways try / catch / throw can improve software quality?
    What should I throw?
    What should I catch?

    相关文章

      网友评论

          本文标题:c++ 面试问题5 异常操作

          本文链接:https://www.haomeiwen.com/subject/mpeunttx.html