Re: [Development] qMoveToConst helper for rvalue references to movable Qt containers?

2018-10-20 Thread Elvis Stansvik
(Adding back the mailing list) Den lör 20 okt. 2018 kl 23:54 skrev Elvis Stansvik : > > Den lör 20 okt. 2018 kl 23:50 skrev Giuseppe D'Angelo > : > > > > Il 20/10/18 19:37, Elvis Stansvik ha scritto: > > > If the C++ wizards considered this but were hesitant, then I think > > > it's right that Qt

Re: [Development] Coin production update: Import note for users of testresults

2018-10-20 Thread Simon Hausmann
Thank you Aapo! Simon > On 20. Oct 2018, at 12:45, Aapo Keskimölö wrote: > > It seems that some users will want to keep the old task links working so we > have decided to cancel this production update and do a new one after the > backwards compatibility is in place. > > Kind

Re: [Development] qMoveToConst helper for rvalue references to movable Qt containers?

2018-10-20 Thread Elvis Stansvik
Den lör 20 okt. 2018 kl 18:53 skrev Giuseppe D'Angelo via Development : > > Il 20/10/18 14:43, Elvis Stansvik ha scritto: > > In our application we added a helper like > > > > template > > const T moveToConst(T &) > > { > > return std::move(t); > > } > > > > that we use for these cases. It

Re: [Development] Coin go version has been updated

2018-10-20 Thread Tony Sarajärvi
I’m also interested in what you thought had fixed the issues, as they clearly state they remove the compatibility with the old distros? And what features do we need from the new go-lang versions? -T From: Development On Behalf Of Aapo Keskimölö Sent: lauantai 20. lokakuuta 2018 15.37 To:

Re: [Development] qMoveToConst helper for rvalue references to movable Qt containers?

2018-10-20 Thread Giuseppe D'Angelo via Development
Il 20/10/18 14:43, Elvis Stansvik ha scritto: In our application we added a helper like template const T moveToConst(T &) { return std::move(t); } that we use for these cases. It just moves the argument to a const value and returns it. With that we can do for (auto foo :

[Development] qMoveToConst helper for rvalue references to movable Qt containers?

2018-10-20 Thread Elvis Stansvik
Hi all (first post), In Qt 5.7+ there's qAsConst, an std::as_const implementation for those who are not on C++17 yet, which is convenient for iterating over Qt containers using range-based for loops without causing a detach. For good reasons there's no version of qAsConst that takes an rvalue

Re: [Development] Coin go version has been updated

2018-10-20 Thread Aapo Keskimölö
It seems that the mac machines are still having the same issue with this go version:/ I have reverted the go version coin master back to 1.8.3. Kind regards/Ystävällisin terveisin, Aapo Keskimölö On 20 Oct 2018, at 13.51, Aapo Keskimölö mailto:aapo.keskim...@qt.io>> wrote: Hi all, I have

[Development] Coin go version has been updated

2018-10-20 Thread Aapo Keskimölö
Hi all, I have bumped the go compiler on the master machine 1.8.3->1.11.1 because the current go version is not supporting all features that are required to continue development of Coin. In the past this caused issues with mac builds: https://bugreports.qt.io/browse/QTQAINFRA-2172 If you

Re: [Development] Coin production update: Import note for users of testresults

2018-10-20 Thread Aapo Keskimölö
It seems that some users will want to keep the old task links working so we have decided to cancel this production update and do a new one after the backwards compatibility is in place. Kind regards/Ystävällisin terveisin, Aapo Keskimölö > On 19 Oct 2018, at 14.02, Aapo Keskimölö wrote: > >