Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: A question on when_all

$
0
0
Please consider the following code
vector<task<vector<int>>> vTasks;

//vector<vector<int>> res = when_all(vTasks.begin(), vTasks.end()).get();   //  C2440
vector<int> res = when_all(vTasks.begin(), vTasks.end()).get();
From the documentation it would seem that it is the commented out line that should compile correctly, while in fact it's the following. What's the matter?

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>