Re: [Development] 0 vs. NULL

2015-10-09 Thread Pocheptsov Timur
plicit pointer_to_void -> some_pointer_type IS NOT, and compiler, issuing error messages will help you to avoid some troubles. From: René J.V. Bertin Sent: Friday, October 09, 2015 5:51 PM To: Pocheptsov Timur Cc: development@qt-project.org Subject: Re

Re: [Development] 0 vs. NULL

2015-10-09 Thread Pocheptsov Timur
In C++ you can do: int * p = NULL; double * d = NULL; if NULL was (void *)0 - you'd have a compilation error in C++, since there is no such implicit conversion. And yes, void * in C++ can be indeed considered generic, because you can do this: int * p = ... void * pv = p;

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Pocheptsov Timur
Though I did not notice that your 'One' is actually 0. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Denis Shienkov Sent: Wednesday, August 12, 2015 5:45 PM Cc: development@qt-project.org Subject: Re: [Development] Use

Re: [Development] Use QT_DEPRECATED_SINCE macro for specific enum values

2015-08-12 Thread Pocheptsov Timur
> #if QT_DEPRECATED_SINCE(5, 2) > Three, > #endif skips three making Four == 3. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Denis Shienkov Sent: Wednesday, August 12, 2015 5:45 PM Cc: development@qt-project.org

Re: [Development] HEADS-UP: Qt 5.6 feature freeze and branching coming

2015-08-07 Thread Pocheptsov Timur
Hi, I still need these : https://codereview.qt-project.org/#/c/122894/ https://codereview.qt-project.org/#/c/122855/ reviewed (and hopefully approved). Ah, and this: https://codereview.qt-project.org/#/c/122860/ Best regards, Timur. From: developm

Re: [Development] [Mac] tst_qquickwindow::testWindowVisibilityOrder() regression

2015-03-26 Thread Pocheptsov Timur
Yes, it's fixed? From: Aaron McCarthy Sent: Thursday, March 26, 2015 6:38 AM To: development@qt-project.org Cc: Pocheptsov Timur; Albert Astals Cid Subject: Re: [Development] [Mac] tst_qquickwindow::testWindowVisibilityOrder() regression On Thu, 1

Re: [Development] [Mac] tst_qquickwindow::testWindowVisibilityOrder() regression

2015-03-19 Thread Pocheptsov Timur
For me this test fails with 5.4 and passes with 5.5, so something was fixed :) (the test code is the same, of course). Best regards, Timur. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Albert Astals Cid S

Re: [Development] [Mac] tst_qquickwindow::testWindowVisibilityOrder() regression

2015-03-19 Thread Pocheptsov Timur
Hi. I'll have a look. Best regards, Timur. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Albert Astals Cid Sent: Thursday, March 19, 2015 9:53 AM To: development@qt-project.org Subject: [Development] [Mac]

Re: [Development] Nominating Timur Pocheptsov as approver

2015-02-17 Thread Pocheptsov Timur
Thank you guys! :) Best regards, Timur. From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Blasche Alexander Sent: Tuesday, February 17, 2015 1:18 PM To: development@qt-project.org Subject: Re: [Development] Nom

Re: [Development] MacosX/iOS SecureTransport SSL Backend Call for Testers

2015-02-06 Thread Pocheptsov Timur
Actually, we have to fix configuration on OS X: Secure Transport is enabled with -no-openssl (-securetransport is not required) and this can be undesired side effect From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf o

Re: [Development] QVector: clear while keeping capacity

2014-11-05 Thread Pocheptsov Timur
v.erase(v.begin(), v.end()) ? From: development-bounces+timur.pocheptsov=theqtcompany@qt-project.org on behalf of Smith Martin Sent: Wednesday, November 5, 2014 3:36 PM To: Milian Wolff; Allan Sandfeld Jensen Cc: development@qt-project.org Subject:

Re: [Development] QOptional

2014-08-21 Thread Pocheptsov Timur
AFAIK the better examples/ideas can be found in the design rationale of std::optional. For example (may be, also the bad one:) ), it can be good if you can distinguish initialized/non-initialized state, instead of having int m_val; //every possible integer value is reasonable bool m_valInitializ