why can't i define a function of return type 'pointer to struct' outside of class?

前端 未结 0 1780
抹茶落季
抹茶落季 2020-11-22 00:27

This code gives error \'no declaration matches Node* List::getNewNode(int)\'

class List
{
private:
    struct Node {
        int data;
               


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题