Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Day 1 Keynote - Bjarne Stroustrup: C++11 Style
Feb 04, 2012 at 2:21 PMCan someone enlighten me about the syntax on page 62 (and 63) of slides:
double* f(const vector<double>& v); // read from v return result
double* g(const vector<double>& v); // read from v return result
void user(const vector<double>& some_vec) // note: const
{
double res1, res2;
thread t1 {[&]{ res1 = f(some_vec); }};
thread t2 {[&]{ res2 = g(some_vec); }};
// ...
t1.join();
t2.join();
cout << res1 << ' ' << res2 << '\n';
}
Isn't there a type mismatch between f() return and res1?
Taming GPU compute with C++ AMP
Sep 17, 2011 at 7:10 PMGetting ready to take C++ AMP for a test drive!
Using the Windows Runtime from C++
Sep 16, 2011 at 3:33 AM@Tomas (and others)
Qt is NOT written in standard C++! It is grossly inconsistent to claim that and complain about non-standard extensions to VS11 C++ in the same post. Advantage of Qt is cross platform portability, but you still have to use preprocessor to make it digestible to a standard C++ compiler.
I don't like non-standard extensions just like the other man, but you don't have to use them for classic desktop apps with VS11 C++. Once you decide to go WinRT route, it almost becomes a moot point - the part of your code connected to the real world is not portable anyway.