[Development] QUIP 6: removing top-level const from return types

Thiago Macieira thiago.macieira at intel.com
Wed May 24 18:39:16 CEST 2017


On Tuesday, 23 May 2017 15:35:50 PDT Giuseppe D'Angelo wrote:
> On Tue, May 23, 2017 at 11:56 PM, Thiago Macieira
> 
> <thiago.macieira at intel.com> wrote:
> > We are arguing whether the change makes the code uglier and is worth that
> > ugliness. I'm not sold on that. Leave those const behind until Qt 6,
> > unless
> > you can show that engaging the move constructor is important.
> 
> What about defining a (private) macro centrally and using it in those
> places, as it has been proposed?

Still ugly.

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




More information about the Development mailing list