Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nly
on July 18, 2013
|
parent
|
context
|
favorite
| on:
Stunned by Go
Not really. You can't dynamic_cast across across protected or private inheritance boundaries, even if the function attempting it is a friend. As long as your public inheritance hierarchy maintains your contract (and they should) you're fine.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: