News for hackers. Stuff that matters.
Re:Why C++ Sails When the Vasa Sank [pdf] by mgraczyk on Tuesday June 24, 2014 @01:02AM (#7936263)
1. That's not true, you can use range based for loops over C array types. http://stackoverflow.com/questions/7939399/how-does-the-rang...

2. As you mentioned, make_unique is a part of C++14 (although it will still be missing make_unique<T[]> ). I don't see the big deal is though since libc++, libstdc++, and VS2013 already have a compliant make_unique implementation.

Re:Why C++ Sails When the Vasa Sank [pdf] by pbsd on Tuesday June 24, 2014 @02:57AM (#7936505)
> although it will still be missing make_unique<T[]>

This is not true -- see §20.9.1.4 of the C++14 draft [1]. make_unique is defined for array types with unknown bound (i.e., T[]), but it is deleted for array types of known bound (e.g., T[5]). So to make an array of 100 default-initialized `int`s,

    auto array = std::make_unique<int[]>(100);
[1] http://isocpp.org/files/papers/N3690.pdf