Added missing typename to when_each
Fixed variadic when_each