Closed AngryMaciek closed 3 years ago
The use of const
keyword is a little messy throughout the library --- needs cleaning.
Also here: which class members should return by value and which by reference?
I askked for clarification @ SO: https://stackoverflow.com/questions/64741595/use-of-const-keyword-and-by-reference-return-in-a-c-class
TODO:
const
objects.Compare to: https://www.boost.org/doc/libs/1_34_1/doc/html/boost_math/octonions.html
finished with 7d30765
Is your feature request related to a problem? Please describe. How should I implement the methods to work on both
const
andnon-const
objects?Describe the solution you'd like Avoid code duplication!
Additional context