D
Daniel Pitts
I've created a class with semantics such that it makes sense to call
std::abs(foo) and get a (double) result.
Is it sensible to add to the std namespace, or would it be better to put
an "abs" function it in the same namespace as my class was created?
std::abs(foo) and get a (double) result.
Is it sensible to add to the std namespace, or would it be better to put
an "abs" function it in the same namespace as my class was created?