[Development] Question about QCoreApplicationData::*_libpaths

Thiago Macieira thiago.macieira at intel.com
Sat Jan 23 19:36:54 CET 2016


On Saturday 23 January 2016 19:22:34 Marc Mutz wrote:
> > template < class Container, class Compare >
> > void sort ( Container container, Compare compare)
> > {
> >
> >      sort(begin(container), end(container), compare);
> >
> > };
> >
> > 
> >
> > Something like that perhaps? Feel free to add as many as you think are
> > useful.
> 
> The problem is that these overloads quickly become ambiguous with existing 
> ones. So at a minimum, you need to have a special suffix (_all).Overloading
> on  concepts is needed to solve this properly.

Another way to do that is to have a special prefix of "q".
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list