Hacker News new | past | comments | ask | show | jobs | submit login

Indeed!

Just to write a class in C++ with a constructor and destructor which are not inlined, you have to repeat the class name about seven times: three times in the class declaration. Then four more times in the definitions of those two functions:

    class verbose {
    public:
      verbose();
      ~verbose();
    };

    verbose::verbose()
    {
    }

    verbose::~verbose()
    {
    }



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: