How to bind a std::map to Lua with LuaBind
snippet in lua

How to bind a std::map to Lua with LuaBind

user6745

metatable["__index"] = luabind::make_function(L, &this->GetMeta);
metatable["__newindex"] = luabind::make_function(L, &this->GetMeta);