April 2013
Intermediate to advanced
1700 pages
92h 51m
English
One set of members declared on a type is left to be discussed: operator overloads and user-defined conversions. All of those types of members are defined as a special kind of static method that can be invoked through various built-in language constructs.
Operator overloading comes in handy when defining types that have natural meanings for operations such as addition, logical operators, and whatnot. A good example is a Vector type. User-defined conversions ...
Read now
Unlock full access