20,741
edits
Line 204: | Line 204: | ||
You can use this behavior to implement generic constructors that support object-specific instantiation, but also to implement function overloading - based on different parameter names at the call sites. | You can use this behavior to implement generic constructors that support object-specific instantiation, but also to implement function overloading - based on different parameter names at the call sites. | ||
Also note that the standard arg vector, including its ellipsis form, are no longer available when using a hash to initialize the parameters of a function call. | |||
===Nested functions, implicit return === | ===Nested functions, implicit return === |