title: inline constructor and destructor in cpp file
body: <p>As weird as the question sounds, I meant when a class is defined solely in cpp file because it is more of less a helper class for the implementation of another class and doesn't deserve to be in its private section. I understand that inlining constructor and destructors is a bad practice, but what about this situation, demonstrated as follows? Thank you very much</p>
  
  <p>EDIT: I should have reworded it. In some cases inlining constructor and destructors causes bloated code unexpectedly(as discussed in Effective C++ Item 30, "Understand the ins and outs of inlining"). However I would like to know if such inlining demonstrated resulted in that as well</p>
  
  <pre><code>    // my_class.cpp
      #include &lt;my_class.h&gt;
  
      namespace {
          class Helper
          {
              public: 
                  Helper() {...} // should I inline the constructor here?
                  ~Helper() {...} // should I inline the destructor here? 
          };
  
          /* alternative implementation looks like
          Helper::Helper()
          {...}
  
          Helper::~Helper()
          {...}
          */
      } // end of anonymous namespace
  
      // implementation of my_class
  </code></pre>