Why shouldn't my Matrix class's interface look like an array-of-array? Why shouldn't my Matrix class's interface look like an array-of-array?.How do I create a subscript operator for a Matrix class?.What are some guidelines / "rules of thumb" for overloading operators?.Okay, that tells me the operators I can override which operators should I override?.Can I create a operator** for "to-the-power-of" operations?.Can I overload operator= so it lets me compare two char using a string comparison?.What operators can/cannot be overloaded?.But operator overloading makes my class look ugly isn't it supposed to make my code clearer?.What are some examples of operator overloading?.What are the benefits of operator overloading?.What's the deal with operator overloading?.This section is about operator overloading - a way to make the code "readable" as long as the reader doesn't care what the code actually does. To see the original answers, follow the FAQ links. C++ FQA Lite: Operator overloading Operator overloading Part of C++ FQA Lite.
0 Comments
Leave a Reply. |