amir9480 / vscode-cpp-helper

vscode extension to create implementation for c++ function prototypes.
https://marketplace.visualstudio.com/items?itemName=amiralizadeh9480.cpp-helper
MIT License
367 stars 33 forks source link

inside class problem #13

Closed kamkamkil closed 4 years ago

kamkamkil commented 4 years ago

while creating implementation for inside class extonison is not working properly for operator == from class :

class RectangleMatrix::Iterator
{
public:
    //...
    bool operator==(const Iterator it);
    //...

should be :

bool RectangleMatrix::Iterator::operator==(const Iterator it)
{
//....
}

but instead create :

bool RectangleMatrix::operator==(const Iterator it) 
{
   //... 
}