full variant support #49

belm0 opened this Issue May 27, 2012 · 1 comment

2 participants


Without this it isn't possible for a Lua function to return variable number of arguments of differing type (see issue #42).

(This may not be high priority but I want to document it.)


Yes, it is still possible in various different ways, as explained in #42.

I am waiting for the std.variant rewrite before implementing Variant; it is possible with the current state of std.variant too, but it's not practically useful because pushing one to Lua would have awful algorithmic complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment