Ray's playground

 

Item 30: Understand the ins and outs of inlining.(Effective C++)

  • Limit most inlining to small, frequently called functions. This facilitates debugging and binary upgradability, minimizes potential code bloat, and maximizes the chances of greater program speed.

  • Don't declare function templates inline just because they appear in header files.

posted on 2011-03-31 14:11  Ray Z  阅读(180)  评论(0编辑  收藏  举报

导航