sol2 icon indicating copy to clipboard operation
sol2 copied to clipboard

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:

Results 286 sol2 issues
Sort by recently updated
recently updated
newest added

Consider ```C++ struct Test {}; ``` and the binding code ```C++ Test1** test; lua["Test"] = test; ``` Error messages: ``` /opt/compiler-explorer/libs/sol2/trunk/include/sol/stack_core.hpp:1416:28: error: no matching function for call to object of...

sol2 3.3.1 vs2022 17.11.1 build with c++ 20 in x86 release mode crash(debug mode is ok...) c++ code: ` try{ //ver1:call module function sol::table self = g_LuaState["abcmod"];//crash here sol::table rv...

Sometimes a container type may have missing semantics in order to be customized as in [containers](https://sol2.readthedocs.io/en/latest/containers.html). For example: - a sequence container type missing `max_size()` will fail to compile. https://github.com/ThePhD/sol2/blob/2b0d2fe8ba0074e16b499940c4f3126b9c7d3471/include/sol/stack_get_unqualified.hpp#L399-L402...

The slide deck links still had the old `docs` folder in them instead of `documentation`.

I'm working with a library that has a variant class with non-explicit constructors for basic types like `Variant(bool)` and `Variant(const char *)`. After adding sol3 `sol_lua_get/push/check()` functions for this type,...

in clang 19.1, i have error : no member named 'construct' in 'optional' (line 6821 in sol.hpp)

I have an API that has classes and inner classes that i should be binding to lua mirroring the c++ one. It seems like basic_usertype don't forward `base_t::new_enum` and `base_t::new_usertype`...

class Base { public: virtual void print() { std::cout

I've been working on a project using Sol over the last few months. I use Xcode to create my Mac builds and bug test on Mac OS devices. This morning...

The tag 4.0.0-alpha was added a few years ago.