News for hackers. Stuff that matters.
Re:C++17 is formally approved by jcelerier on Thursday September 07, 2017 @02:32PM (#15194543)
> Tuples are ordered though. I don't usually think of structs by the order the properties are declared - I usually think of them by name.

Think for instance of a 2D point structure. There are tons of implementations, all with different naming conventions ; or sometimes storing them in an array. This allows to just do :

    auto [x, y] = someRandomLibraryPoint();

There are no comments on this comment yet.