sol2
sol2 copied to clipboard
usertype_container.hpp: fix bugs introduced by previous refactoring
Closes #1627. Notice that the unit tests passed before this fix unexpectedly, see the related open issue.