>What's the use case for this?
job security and returning more than 1 object from a function without return pointers in the args
job security and returning more than 1 object from a function without return pointers in the args
Actually that’s solved by returning `std::tuple` and `std::tie` – or using custom classes.
How is this any different than needing to know the order in which the arguments are passes? (Which I happen think is a problem that needs solved.)
fun(iod(arg1_ = 1, arg2_ = "foo"));
or by using method chaining :
http://www.parashift.com/c++-faq-lite/named-parameter-idiom....