摘要: If only member function _clear_ of _WindowMgr_ is a friend of _Screen_, there are some points need to note. Sequence is important. First, define the _ 阅读全文
posted @ 2019-01-18 15:21 威化饼干 阅读(137) 评论(0) 推荐(0) 编辑
摘要: About why inline member function should defined in the header file. It is legal to specify inline on both the declaration and the definition. But the 阅读全文
posted @ 2019-01-18 15:13 威化饼干 阅读(98) 评论(0) 推荐(0) 编辑
摘要: Why use getters and setters/accessors? 实际上会有很多人问这个问题....尤其是它成为Coding Style中一部分的时候。 "文章出自LBushkin的回答" There are actually many good reasons to consider 阅读全文
posted @ 2019-01-18 14:58 威化饼干 阅读(461) 评论(0) 推荐(0) 编辑