[Development] Inline method convention

Thiago Macieira thiago.macieira at intel.com
Sat Mar 15 18:30:21 CET 2014

Em sáb 15 mar 2014, às 17:41:30, Kurt Pattyn escreveu:
> Hi,
> Recently I came across Effective C++ again and saw a chapter regarding
> inline methods. In short, Scott Meyer argued against it, because of
> potential binary compatibility problems, code bloat, and so on.
> My question is: is there any convention within Qt about inline methods?

Make it inline what makes sense to be inline.

For public, exported classes, which have d pointers, very little makes sense 
to be inline.
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

More information about the Development mailing list