Héritage de paramètres par défaut
Bonjour à tous :D
Ma foie voici un titre de post tout à fait explicite :P
Un petit exemple...
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
class stRenderSystem
{
public:
virtual void createWindow(int width = 800, int width = 600) = 0;
...
};
class stD3D9RenderSystem : public stRenderSystem
{
public:
virtual void createWindow(int width, int width)
{
...
}
}; |
Je voudrais donc savoir si stD3D9RenderSystem hérite des paramètres par défaut de stRenderSystem (enfin de la méthode à surdéfinir ^^)
Merci à tous :)