[Development] Question about QCoreApplicationData::*_libpaths

Thiago Macieira thiago.macieira at intel.com
Tue Jan 19 18:37:39 CET 2016


On Tuesday 19 January 2016 17:48:48 Giuseppe D'Angelo wrote:
> On Tue, Jan 19, 2016 at 5:07 PM, Thiago Macieira <thiago.macieira at intel.com>
> wrote:
> > std::string someString()
> > {
> >         return constexpr_string("foo");
> > }
> 
>  "constexpr_string" should very likely return a const std::string, so this
> will copy and not move...

Right, which would make the entire thing pointless.

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




More information about the Development mailing list