{"action":"closed","issue":{"url":"https://api.github.com/repos/rttrorg/rttr/issues/61","repository_url":"https://api.github.com/repos/rttrorg/rttr","labels_url":"https://api.github.com/repos/rttrorg/rttr/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/rttrorg/rttr/issues/61/comments","events_url":"https://api.github.com/repos/rttrorg/rttr/issues/61/events","html_url":"https://github.com/rttrorg/rttr/issues/61","id":231796922,"number":61,"title":"variant comparators","user":{"login":"matpen","id":9569236,"avatar_url":"https://avatars0.githubusercontent.com/u/9569236?v=4","gravatar_id":"","url":"https://api.github.com/users/matpen","html_url":"https://github.com/matpen","followers_url":"https://api.github.com/users/matpen/followers","following_url":"https://api.github.com/users/matpen/following{/other_user}","gists_url":"https://api.github.com/users/matpen/gists{/gist_id}","starred_url":"https://api.github.com/users/matpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matpen/subscriptions","organizations_url":"https://api.github.com/users/matpen/orgs","repos_url":"https://api.github.com/users/matpen/repos","events_url":"https://api.github.com/users/matpen/events{/privacy}","received_events_url":"https://api.github.com/users/matpen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-27T11:59:45Z","updated_at":"2017-08-06T21:09:17Z","closed_at":"2017-08-06T21:09:17Z","body":"I have two enhancement suggestions regarding the variant comparators:\r\n\r\n1) variant::operator>() seems to be missing; while it is perfectly possible to compare the other way around, it would be convenient to have it at one's disposal (along with \"<=\" and \">=\").\r\n\r\n2) I have read in the docs that some types might need the manual registration of the comparators... it would be nice to have the opportunity to check if that happened, so that the program can notice that the result of the comparison is actually invalid: for example by introducing \"rttr::type::has_less_than_comparator()\" and analogous functions."}}
{"actor":{"display_login":"acki-m"}}