Skip to main content

Timeline for C++ Vector3d class

Current License: CC BY-SA 4.0

2 events
when toggle format what by license comment
Jan 10, 2022 at 18:44 comment added Oliver Schönrock Thanks for the link to scaling epsilon. And thanks for the vote to keep the operators as friends. After incorporating most of Toby Speight's suggestions, I actually reverted to moving the operators back into the class scope as friends, because a) I didn't like the messy template <typename T> and then also ... typename U> for the scalars. Plus b) exactly for your stated reason. I don't need my little "local class" to pollute the global search scope for overloads to operator+ etc. !
Jan 10, 2022 at 15:46 history answered JDługosz CC BY-SA 4.0