Lets say I implement some functions for type Foo
. If they are member functions VS will offer them for a foo
object but if I implement them as free / non-member functions then I get no help.
foo.doSomething();
//vs
doSomething(foo);
If it is as common as normalize(some_vector)
then it is OK but otherwise I have to search for the functions. How do people who use many free functions usually solve this? is there a workaround? Is putting those functions into a descriptive namespace a good idea? FooFunctions::doSomething(foo);