C++ type conversion FAQ

后端 未结 3 845
孤独总比滥情好
孤独总比滥情好 2021-02-02 01:18

Where I can find an excellently understandable article on C++ type conversion covering all of its types (promotion, implicit/explicit, etc.)?

I\'ve been learning C++ fo

3条回答
  •  迷失自我
    2021-02-02 01:27

    For integer types, check the book Secure Coding n C and C++ by Seacord, the chapter about integer overflows.

    As for implicit type conversions, you will find the books Effective C++ and More Effective C++ to be very, very useful.

    In fact, you shouldn't be a C++ developer without reading these.

提交回复
热议问题