Is there a way to make Visual Studio find / offer functions that take a particular type as parameter?

102 views Asked by At

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);

0

There are 0 answers