您的位置:首页 > 编程语言 > C语言/C++

Item31: Minimize compilation dependencies between files.(Effective C++)

2011-03-31 23:52 369 查看
The general idea behind minimizing compilation dependencies is to depend on declarations instead of definitions. Two approaches based on this idea are Handle classes and Interface classes.

Library header files should exist in full and declaration-only forms. This applies regardless of whether templates are involved.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐