Automatic generation of function stubs

Is there any Visual Studio add-on (or standalone Windows / Unix program) that creates stub implementations in the cpp file for functions (including class member functions) that are defined in the header file?

+3
source share
2 answers

I have the same problem and so far I have been using a trial version of the Visual Assist the X . The specified task can be performed by right-clicking on the method name → Refactor → Create Implementation, and then Refactor → Move the implementation to the CPP file.

I am not a member of Visual Assist X or what, but it really significantly increases the speed of my coding with Visual C ++.

+5
source

Reactor! for C ++ it works with Dev Studio 2005 and 2008. The free version "view" will allow you to do this; if you type your stub method in your header file (by typing something like void Foo(int bar){}instead void Foo(int bar);), you can "Move the method to the source file."

There are many other features in the full version, but I am not familiar with their use.

+2
source

All Articles