I often find that I write very simple classes instead of C-style structures. They usually look like this:
class A { public: type mA; type mB; ... A(type mA,type mB,...) : mA(mA),mB(mB),... {} }
Is this a smart way to do something? If so, I was wondering if there is any third-party plug-in or some convenient short text for automatically creating text for the constructor (for example, take selected or existing member definitions, replace commas with commas, move everything to the same line , ...)? Thanks
source share