Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on C++ name hiding puzzle. Parent comment
1. Find "all" the functions accessible bearing the same name. This would include functions available from the base classes.
2. Now match parameters
Seems like the order actually used is:
1. Find the function by name in the specific class (not including base classes)
2. If found, go to 4.
3. Include functions from the next base class (end if no more) and match by name only. Go to 2.
4. Try matching by name.
There are no comments on this comment yet.
1. Find "all" the functions accessible bearing the same name. This would include functions available from the base classes.
2. Now match parameters
Seems like the order actually used is:
1. Find the function by name in the specific class (not including base classes)
2. If found, go to 4.
3. Include functions from the next base class (end if no more) and match by name only. Go to 2.
4. Try matching by name.