title: How to iterate through luabind class (in lua or in c++)?
body: <p><strong>How to iterate through luabind class (in lua or in c++)?</strong></p>
  
  <pre><code>class 'A'
  
  function A:__init()
      -- Does not work
      -- self is userdata, not a table
      for i, v in pairs(self) do
      end
  end
  </code></pre>
  
  <p><strong>Thanks</strong></p>