PaulJurczak PaulJurczak

Niner since 2011


  • Day 1 Keynote - Bjarne Stroustrup: C++11 Style

    Can 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); }};
    // ...
    cout << res1 << ' ' << res2 << '\n';

    Isn't there a type mismatch between f() return and res1?

  • Taming GPU compute with C++ AMP

    Getting ready to take C++ AMP for a test drive!

  • Using the Windows Runtime from C++

    @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.