U
Ulrich Eckhardt
Paul said:How can the reason a member function exists in C++ not be relevant.
This may be of historic relevance to the standard, but it is irrelevant
inside the standard itself. For a standard to be worth its money, it must
be internally consistent. In order to achieve that, any terms that might
be ambiguous must be defined first, so that any ambiguities are resolved.
This is necessary because later definitions based on other earlier
definitions would otherwise suffer in precision, too.
The C++ object model *is* restriced , not by me , by the fact the C++
standard does not go into implementation specifics.
Not requiring any specific implementation is actually freedom, not
restriction. What are you trying to say here?
The tiny piece of the document that describes the C++ object model
is by no means a complete description of how C++ objects work.
Yes it is, and for above reason it must be. Otherwise any opinion on what
is or is not an object would be relevant to the interpretation of the
standard. In order to be free of such interpretation variance, the
standard first defines its terms.
Additionally the C++ standard cannot and never will state that a member
function is not a member of an object.
Concerning the C++ object model, it can, should and does. Concerning other
uses of that term, it can't and doesn't.
The C++ is does not define an object in an opposite context from an OOP
object,
Yes it does.
the C++ is very carefull not to do this becuase it would directly
imply C++ did not support OOP.
No, that does not follow. Different contexts, different meanings.
I don't need to know what the rest of the standards say, and by the
looks of thing I don't want to if they cannot make a clear distintion
between objects of a UDT and objects at compiler level.
So here you finally admit that there are two different meanings to the
term object. So why can the C++ standard not choose one of them? In any
case, it is very narrow-minded and arrogant to say that you don't need to
know the rest but still understand the full picture. You need to
understand a much bigger part of the picture and leave the OOP picture out
of it first before you can argue about it.
Im not changing any context. Im talking cleary about objects in the
sense of OOP.
Yes, that means you are very clearly changing the context, since the
statement you falsely tried to refute was made in the context of the C++
object model.
A member function is called so because it is a member of a object.
You are aware of the distinction between static and non-static member
functions? This distinctions is made between these functions that are part
of a class. BTW: In OOP jargon, there are no member functions, the closest
to them are methods. Maybe there's a reason for that difference?
What else is would it be a member of? Do you want to suggest its a
member of a class again, please do so I can once again prove that a C++
class doesn't even exist at runtime.
Neither do OOP objects or functions, your "proof" isn't even one. You have
been shown to similarities between functions and memberfunctions in C++
code. After compilation, the remaining differences will be gone
completely, just to illustrate your invalid argument further.
The very fact that you call me a troll is in itself an insult ,
I have not insulted you and to suggest I have been violent towards
you is just laughable.
Okay, let's assume that you didn't...
When I have a large group of morons all ganging up on me and not only
insulting me , but my recently dead mom, and continuing to insult her
after I said.
I am quite within my right to give some back. So don't give me that one
sided nonsense.
And also you seem to forget the original argument that started with
numerous insults towards me.
....so why justify that you did? BTW, can you quote where I called you a
troll? If not, I expect an excuse for this, because your claim would then
be a lie.