amir9480 / vscode-cpp-helper

vscode extension to create implementation for c++ function prototypes.

Home Page:https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minor issue with generated implementation for pure virtual functions

hattesen opened this issue · comments

When an implementation is generated from a pure virtual function declaration, the = 0 is not removed.

This issue is present in C++ Helper, v0.3.1

Current behavior (v0.3.1)

Declaration (header):

virtual char charAt(int row, int col, int tick) = 0;

Generated implementation:

char Decorator::charAt(int row, int col, int tick) = 0
{
    
}

Proposed behavior

Generated implementation (without = 0):

char Decorator::charAt(int row, int col, int tick)
{
    
}