Sorry if this is already covered, or better asked in another of the stackoverflow properties…
What I’m looking for is a way to control how the boiler plate “create a new class” in C++ is handled in VS2010.
Currently, create a new class X with parent Y generates
X.h
#include "Y.h"
class X :
public Y
{
public:
X(void);
virtual ~X(void);
}
X.cpp
#include "StdAfx.h"
#include "X.h"
X::X(void)
{
}
X::~X(void)
{
}
I would prefer that every (void) be instead (). I assume there must be a template file from which the above code is generated? Does anyone know where that is, what the proper procedure is for overriding it?
I hate to answer this myself, but the reality is that VS2010 (and older) don’t support being able to customize the code generation for C++ (but do for other languages).
So Zannjaminderson is right if you’re looking for anything but C++