>>or would it be correct to say that "FoxPro overloads operators by default"?
>
>I think this is correct, if I understand you. VFP is written in C++, which supports operator overloading. So when the Fox Team wrote the VFP language, they overloaded the +,-,/, etc. operators in a way that you have no control over.
Good that means I'm getting it. I thought that would be the more correct of the two.
>
>Does the book you are reading say that C# supports operator overloading?
Yes it does.
Specifically that one of the things C# brings to the table is:
"The C++ ability to overload operators for a custom type, without the complexity (i.e., making sure to "return *this to allow chaining" is not your problem)"
Thanks for all your help.
Aloha,
James
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only