What would be the best practice in C++, to define two separate constructors, one having input in degrees whilst the other in radians? The problem I'm having doing it the straight forward way is that the signature of both methods look the same to the compiler, even though the parameter names identify which is which, and the compiler flags a re-declaration error. Is this possible to do without introducing another field?
I can do it using a single constructor by adding an additional bool parameter that would allow selecting which units are being passed, and using an if in the body.