3 ms·
Looks like your other comment hit the max reply depth so this will need to finish up, but in any case I don't agree with your reading of the vice versa.
by regehr 11y ago
Looks like your other comment hit the max reply depth so this will need to finish up, but in any case I don't agree with your reading of the vice versa.
- haberman 11y agoIt may be that the aliasing rules are also required to fully justify my conclusion (ie. a Base can't have its stored value accessed via a pointer-to-derived due to the aliasing rules). But I have a very high degree of confidence in the conclusion itself. I think that you will find that your compiler implements the behavior I have described.
- regehr 11y agoReplying to myself because depth limit. Let me try to think of a good way to update the post to capture this better...
- haberman 11y agoThere isn't actually a depth limit (or if there is we haven't hit it yet :). HackerNews just hides the "reply" link for 5 minutes or so to cool down flamewars. You can work around this by clicking on the link for the post itself (ie. "3 minutes ago") which allows you to reply immediately.