provide a function to create a typical meta table for a C++ object
stack_value overloads operator[] for __index access