{"action":"closed","issue":{"url":"https://api.github.com/repos/eggs-cpp/variant/issues/22","repository_url":"https://api.github.com/repos/eggs-cpp/variant","labels_url":"https://api.github.com/repos/eggs-cpp/variant/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/eggs-cpp/variant/issues/22/comments","events_url":"https://api.github.com/repos/eggs-cpp/variant/issues/22/events","html_url":"https://github.com/eggs-cpp/variant/issues/22","id":171624713,"number":22,"title":"Heterogenous multi-visitation ?","user":{"login":"jcelerier","id":2772730,"avatar_url":"https://avatars.githubusercontent.com/u/2772730?v=3","gravatar_id":"","url":"https://api.github.com/users/jcelerier","html_url":"https://github.com/jcelerier","followers_url":"https://api.github.com/users/jcelerier/followers","following_url":"https://api.github.com/users/jcelerier/following{/other_user}","gists_url":"https://api.github.com/users/jcelerier/gists{/gist_id}","starred_url":"https://api.github.com/users/jcelerier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcelerier/subscriptions","organizations_url":"https://api.github.com/users/jcelerier/orgs","repos_url":"https://api.github.com/users/jcelerier/repos","events_url":"https://api.github.com/users/jcelerier/events{/privacy}","received_events_url":"https://api.github.com/users/jcelerier/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-17T10:28:21Z","updated_at":"2016-08-18T15:21:03Z","closed_at":"2016-08-18T15:21:03Z","body":"Hello,\r\n\r\nIs there a way to make multi-visitation with apply() & multiple variant types ? \r\n\r\ne.g.\r\n\r\n    eggs::variant<int, float> v1;\r\n    eggs::variant<foo, bar> v2;\r\n\r\n    struct vis { \r\n        void operator()(int, foo);\r\n        void operator()(int, bar);\r\n        void operator()(float, foo);\r\n        void operator()(float, bar);\r\n    };\r\n    \r\n    eggs::variants::apply(vis{}, v1, v2);\r\n\r\nthanks !"}}
{"actor":{"display_login":"jcelerier"}}