I tried develop branch because there is a fix for passing nil from lua to C function expecting shared_ptr (or sol::object) using luajit as VM.
It is fixed in commit ff3f254f7b47cfc8cf2976368d86f4cd726915ec
However it looks like commit 64e3823bd200913d3e92123cbb2e76d9ec377d3e breaks the default container wrapper.
Simple example:
#include <map>
#include <sol/sol.hpp>
int main() {
std::map<std::string, bool> m;
sol::state state;
state["m"] = m;
}
I tried develop branch because there is a fix for passing nil from lua to C function expecting shared_ptr (or sol::object) using luajit as VM. It is fixed in commit ff3f254f7b47cfc8cf2976368d86f4cd726915ec
However it looks like commit 64e3823bd200913d3e92123cbb2e76d9ec377d3e breaks the default container wrapper.
Simple example:
System: linux, clang, luajit
Output: output.log