On Tue, Dec 04, 2018 at 12:33:06AM +0100, Bernhard Lindner wrote:
> Hi!
> 
> > > > Not yet. Yes, it will be a huge number.
> > > 
> > > Which compels the questions:
> > > 
> > > 1) is it worth it?
> > 
> > No. 
> 
> What about those people who want (or must) implement clean interfaces in 
> their code using
> standard size_t?
>
> Even if the number of objects/sizes/counts is usually below 2^31, it still is 
> a pain to
> either suffer from numerous static analysis warnings (when implicitly 
> converting size_t
> and int) or from implementing numerous casts.

Assuming that this "clean interface" means std:: snake_style and lower case
types "those people" will end up with shallow wrappers already for aestetical
reasons, anyway. "Translating" between int and what_ever_thing::size_type is 
done there, too, as are conversion between std::string and QByteArray etc.

Andre'
_______________________________________________
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to