A proposal for named arguments for C++
open-std.org
A proposal for named arguments for C++
1–10 of 62 posts
Re: A proposal for named arguments for C++
#2Re: A proposal for named arguments for C++
#3 Whatdoesitdo (i++, i)Re: A proposal for named arguments for C++
#4If I'm reading this correctly, it ends up basically boiling down to a preprocessor trick; you don't get the advantage of being able to add parameters to a function, and have name-based calls to it continue to do the right thing without a recompilation.
Re: A proposal for named arguments for C++
#5It is of some note that the order execution/passing of arguments to a C++ function is yet to be defined. For example, Whatdoesitdo (i++, i)
Re: A proposal for named arguments for C++
#6void foo(static int name) { ... }
I don't think they're 'static' for anything on parameters yet.
Re: A proposal for named arguments for C++
#7Re: A proposal for named arguments for C++
#8It is of some note that the order execution/passing of arguments to a C++ function is yet to be defined. For example, Whatdoesitdo (i++, i)
Re: A proposal for named arguments for C++
#9I think they should use this syntax: void foo(static int name) { ... } I don't think they're 'static' for anything on parameters yet.