Saaa wrote:
"Christopher Wright" <[email protected]> wrote in message news:[email protected]...Saaa wrote:How do I return a variant type in D1?After assessing that a variadic argument is an array, how do I check its depth?How do I set the variable given to me through the _arguments array? thanks :)Variant func() { return variant(5); }I can't seem to find Variant in D1
In D1/Phobos, you can use std.boxer.Box, which can work with variadic arguments.
