[Development] QList

Marc Mutz marc.mutz at kdab.com
Thu Mar 30 07:20:11 CEST 2017


On Wednesday 29 March 2017 22:12:30 Thiago Macieira wrote:
> On quarta-feira, 29 de março de 2017 11:11:58 PDT Marc Mutz wrote:
> > Keyword: inline namespaces. This is the C++ mechanism for API
> > versioning. It allows to make that totally transparent. Why you find
> > that so odd as to be lacking for words is beyond me.
> 
> Inline namespaces do not solve the binary compatibility problem. They
> should not be used in Qt API for versioning.
> 
> Instead, do what you said before: create a V2 class.

Since the two are totally identical, except that inline namespaces are 
transparent to the user, please explain what leads you to this distinction.

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
Tel: +49-30-521325470
KDAB - The Qt, C++ and OpenGL Experts



More information about the Development mailing list