News for hackers. Stuff that matters.
Re:C++11 and Boost - Succinct like Python by comex on Thursday November 01, 2012 @02:09PM (#4728848)
It's possible to do exactly that (a function that initialized a vector with its arguments) in C++ with variadic templates...

You might end up in trouble if you did something like

    auto v = vec(
                  vec(1.2, 3.4),
                  vec(0)
                )
not sure how well other languages deal with that.

There are no comments on this comment yet.