sol2
sol2 copied to clipboard
compilation failure: error: ‘struct sol::container_detail::usertype_container_default<....>::iter’ has no member named ‘end’
using sol 3.5.0, sol2/include/sol/usertype_container.hpp, line 1192:
1188 template <bool ip>
1189 static int next_associative(std::true_type, lua_State* L_) {
1190 iter& i = stack::unqualified_get<user<iter>>(L_, 1);
1191 auto& it = i.it();
1192 auto& end = i.end(); // <--- this line
1193 if (it == end) {
1194 return stack::push(L_, lua_nil);
1195 }
See pull request #1676