maybe you could have the function accept an argument of object, object. If the first "object" is an integer then you use the integer version, if not then assume (but you know what that does) it is a vector.
This should work for different types of objects, not sure how it would work for integers vs a real object though.
As for why function overloading is not in max, well, Mark just didn't put it in yet... (meant to sound funny, not rude)
This should work for different types of objects, not sure how it would work for integers vs a real object though.
As for why function overloading is not in max, well, Mark just didn't put it in yet... (meant to sound funny, not rude)