文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Item 44: Factor parameter-independent code out of templates(Effective C++)

Item 44: Factor parameter-independent code out of templates(Effective C++)

时间:2011-04-06  来源:Ray Z

  • Templates generate multiple classes and multiple functions, so any template code not dependent on a template parameter causes bloat.

  • Bloat due to non-type template parameters can often be eliminated by replacing template parameters with function parameters or class data members.

  • Bloat due to type parameters can be reduced by sharing implementations for instantiation types with identical binary representations.

相关阅读 更多 +
排行榜 更多 +
金属枪超级战士下载

金属枪超级战士下载

飞行射击 下载
逃离鸭科夫手机版免费安卓版下载

逃离鸭科夫手机版免费安卓版下载

飞行射击 下载
元气骑士1.9.7版

元气骑士1.9.7版

角色扮演 下载