News for hackers. Stuff that matters.
Re:Show HN: C++11 inline object definitions by matt42 on Wednesday May 07, 2014 @02:02PM (#7711730)
A nice usecase is named parameters, usefull when a function is taking lots of parameters, or when the order of parameters of the same type can be switched by error :

  fun(iod(arg1_ = 1, arg2_ = 4)

There are no comments on this comment yet.