[Development] Un-inlining members allowed?

Thiago Macieira thiago.macieira at intel.com
Sun Oct 21 22:12:21 CEST 2018


On Sunday, 21 October 2018 11:07:38 PDT Christian Ehrlicher wrote:
> Hi,
> 
> one more question - is it ok to un-inline a function? For example I want
> to move QListWidgetItem::isSelected() to the cpp file so I can properly
> mark QListWidget::isItemSelected() as deprecated but I'm unsure if this
> is allowed.

De-inlining is binary and source compatible, so long as you accept that the 
old code that did inline the function continues to do what it used o do.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list