The Phantom Derpstorm
The Phantom Derpstorm
This is on my radar, but I haven't had the energy to tackle it. Sorry; I don't mean to let you think I had forgotten! Also, as far as invoke...
It's not meant to be header-only anymore. I've got to fix that in the docs. It should only turn on `ZTD_DLL` and other build-related macros if it detects the CMake...
Pushed a fix, should work? Maybe. I should probably add tests for each platform that use BUILD_SHARED_LIBS=ON and one with it off, to see what happens...
From the code, a temporary empty object is returned if the lookup fails: e.g. it constructs an rvalue like you said. The code already performs checks and returns the bogus...
Implementation that would make `operator[]` behave 'intuitively': https://github.com/ThePhD/jsonpp/commit/a1be7f6d3c742173793e0a183d5deb2d9a7f1556
But `obj["thing"] = "string"` _works_ when `obj` is actually a `json::object` and has the key (as outlined above). The only time it doesn't work is when `obj` is _not_ an...
`gears::variant` or riot
It's a bug that's been fixed here: https://github.com/Rapptz/sol/pull/61#discussion_r30457613 . If you want the fix, pull from the `develop` branch of `sol`. Note that in the develop branch, specifically to get...
One final note: the `develop` branch deprecates `userdata` as a name (and a few of its poorly made functions) and has `usertype` instead, so if you're using `userdata`, you may...
I haven't finished building against the latest LuaJIT yet, but they have a flag for 5.2 compatibility that might allow sol to build since we don't make use of _ENV...