Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Overload operators??
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00615854
Message ID:
00616254
Vues:
30
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform