Confusion with variants


#1


#2

Well.. The operator== is quite a loose match, and can return true even if the types are different, e.g. var ("1") == var (1).

I do explain this in the comments, but whether or not should behave differently for void/string comparisons is debatable!