5 ms·
This isn't correct. C++ pointer to member's do not carry any instance information. They are more complex than plain pointers because they will still do proper v
by Kranar 3y ago
This isn't correct. C++ pointer to member's do not carry any instance information. They are more complex than plain pointers because they will still do proper virtual dispatching in the presence of multiple inheritance which requires more machinery than a plain function pointer, but this has absolutely nothing to do with keeping a pointer to an instance/this.
- AdieuToLogic 3y ago>> The C++ pointer-to-member is a fairly confusing concept. What it actually is is a pair - a pointer to the instance of the struct, and a pointer to a function in that struct. > This isn't correct. C++ pointer to member's do not carry any instance information. Mr. Bright's description is correct from the perspective of pointer-to-member's use, not when declared nor instantiated. Given Mr. Bright's role in creating Zortech C, Zortech C++, amongst other compilers, and having used the two specifically mentioned personally, I believe he has a proven understanding of C/C++ compiler implementations. Since one can interpret Mr. Bright's statement in the form of usage or definition, the former seems most applicable when viewed in the context of the remaining text. https://en.wikipedia.org/wiki/Digital_Mars https://en.wikipedia.org/wiki/Digital_Mars
- Kranar 3y agoNo it's just incorrect and no amount of pandering to his authority will change that. People make mistakes and this is one of them, it's not the end of the world. Avoid the temptation to believe false information just because you happen to worship someone, it reflects poorly on your ability to critically judge information.
- AdieuToLogic 3y ago> Avoid the temptation to believe false information just because you happen to worship someone, it reflects poorly on your ability to critically judge information. Ad hominem attacks are the hallmark of insecurity and your expression of same reeks of pompousness reserved for the most arrogant I have had the displeasure to engage. You know nothing about me, nor my background. I hope you take time to reflect on what you wrote above and choose to engage with others differently in the future.
- nurettin 3y ago[flagged]
- WalterBright 3y agoI've never been on internet relay chat.
- nurettin 3y agook must be an imposter my bad.
- WalterBright 3y agoYou are correct, what I wrote is unclear. See my other posts in this thread.