Home » Community » U++ community news and announcements » C++11 library features finished
Re: C++11 library features finished [message #46584 is a reply to message #46569] |
Fri, 03 June 2016 19:27   |
Novo
Messages: 1430 Registered: December 2006
|
Ultimate Contributor |
|
|
code\gui\upp\trunk\uppsrc\core\map.h(178) : warning C4717: 'Upp::AMap<int,Upp::Vector<int>,Upp::Vector<Upp::Vector<int> > >::FindPutPick': recursive on all control paths, function will cause runtime stack overflow
MSVC 2015 x64.
Just to let you know.
The same problem should happen to FindAddPick and GetAddPick.
Although they are deprecated, they still are really recursive, and apps crash because of that.
I believe you wanted to implement them this way:
FindPutPick(const K& k, T&& init) { return FindPut(k, pick(init)); }
TIA.
Regards,
Novo
[Updated on: Fri, 03 June 2016 19:44] Report message to a moderator
|
|
|
 |
|
C++11 library features finished
By: mirek on Mon, 31 August 2015 13:38
|
 |
|
Re: C++11 library features finished
|
 |
|
Re: C++11 library features finished
By: slashupp on Sun, 15 November 2015 17:16
|
 |
|
Re: C++11 library features finished
|
 |
|
Re: C++11 library features finished
By: Novo on Thu, 19 November 2015 04:41
|
 |
|
Re: C++11 library features finished
By: mirek on Thu, 19 November 2015 15:31
|
 |
|
Re: C++11 library features finished
By: Novo on Fri, 20 November 2015 02:50
|
 |
|
Re: C++11 library features finished
By: mirek on Thu, 19 November 2015 15:29
|
 |
|
Re: C++11 library features finished
|
 |
|
Re: C++11 library features finished
By: Alboni on Wed, 01 June 2016 03:22
|
 |
|
Re: C++11 library features finished
By: mirek on Wed, 01 June 2016 23:24
|
 |
|
Re: C++11 library features finished
By: Novo on Fri, 03 June 2016 19:27
|
 |
|
Re: C++11 library features finished
By: Novo on Fri, 03 June 2016 19:38
|
 |
|
Re: C++11 library features finished
By: Novo on Sat, 04 June 2016 05:36
|
 |
|
Re: C++11 library features finished
By: mirek on Thu, 09 June 2016 14:05
|
 |
|
Re: C++11 library features finished
By: Novo on Fri, 10 June 2016 05:09
|
 |
|
Re: C++11 library features finished
By: mirek on Sat, 11 June 2016 20:55
|
Goto Forum:
Current Time: Wed May 07 10:07:22 CEST 2025
Total time taken to generate the page: 0.05411 seconds
|