News for hackers. Stuff that matters.
Re:Named tuple for C++ by mgraczyk on Saturday January 02, 2016 @04:11PM (#10827968)
You can do this in C++ 14.

   auto f() -> decltype(auto) {
     ...
     return (struct {
       int firstPlayer;
       int secondPlayer;
     }) {localPlayer, connectedPlayer};
   }

There are no comments on this comment yet.