2018年2月12日

auto_ptr & share_ptr & unique_ptr

摘要: Using auto_ptr, you don’t need think about the memory deallocation, but there are also many arguments about it because of auto_ptr ownership translati 阅读全文

posted @ 2018-02-12 16:25 荷树栋 阅读(205) 评论(0) 推荐(0)

Scrum

摘要: Scrum is a method of quickly and flexibly making a product idea reality in close cooperation with the customer. Small teams largely manage this activi 阅读全文

posted @ 2018-02-12 15:21 荷树栋 阅读(119) 评论(0) 推荐(0)

The dis/advantage of forward declaration

摘要: In our projects, in C++ head file, if reference to some classes (reference or pointer), instead of include header file directly, we recommend to use f 阅读全文

posted @ 2018-02-12 11:34 荷树栋 阅读(443) 评论(0) 推荐(0)

Explicit

摘要: Prefixing the explicit keyword to the constructor prevents the compiler from using that constructor for implicit conversions. Example is shown below. 阅读全文

posted @ 2018-02-12 11:03 荷树栋 阅读(220) 评论(0) 推荐(0)

导航