Y
Hacker News
new
|
ask
|
show
|
jobs
by
taeric
1247 days ago
Isn't it already possible to choose which constructor to overload?
1 comments
sleepychu
1247 days ago
With this change you can add logic to pick the overloaded constructor based on the
value
of the arguments (as opposed to the sequence of types)
link
taeric
1247 days ago
ah yes, based on the value, not the types. Makes sense, thanks!
link