Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overload operators??
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00615854
Message ID:
00616254
Views:
29
>>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
Map
View

Click here to load this message in the networking platform