Timeline for Expression template to compute the Euclidean distance
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 21, 2014 at 2:04 | history | edited | Michael Urman | CC BY-SA 3.0 |
deleted 266 characters in body
|
Mar 19, 2014 at 8:46 | comment | added | Morwenn |
Concerning the relational operators, I intended to add them, but only provided operator== and operator!= in order to show the design without boilerplate here. I agree that the "guess what the programmer want to do" is a bet, but some documentation can help. My class Point doesn't provide operator* ; there is a dedicated Vector class to represent vectors. And I agree that I still have trouble chaging my habits for () vs {} . Also, I know when a name is reserved in C++ and when it isn't, don't worry. Overall, thanks for the review :)
|
|
Mar 19, 2014 at 2:20 | history | answered | Michael Urman | CC BY-SA 3.0 |