{"action":"created","issue":{"url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/24","repository_url":"https://api.github.com/repos/mattkretz/wg21-papers","labels_url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/24/comments","events_url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/24/events","html_url":"https://github.com/mattkretz/wg21-papers/issues/24","id":205451556,"number":24,"title":"Add aliases for native, compatible, and fixed_size datapar & mask","user":{"login":"mattkretz","id":3306474,"avatar_url":"https://avatars.githubusercontent.com/u/3306474?v=3","gravatar_id":"","url":"https://api.github.com/users/mattkretz","html_url":"https://github.com/mattkretz","followers_url":"https://api.github.com/users/mattkretz/followers","following_url":"https://api.github.com/users/mattkretz/following{/other_user}","gists_url":"https://api.github.com/users/mattkretz/gists{/gist_id}","starred_url":"https://api.github.com/users/mattkretz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattkretz/subscriptions","organizations_url":"https://api.github.com/users/mattkretz/orgs","repos_url":"https://api.github.com/users/mattkretz/repos","events_url":"https://api.github.com/users/mattkretz/events{/privacy}","received_events_url":"https://api.github.com/users/mattkretz/received_events","type":"User","site_admin":false},"labels":[{"id":532166248,"url":"https://api.github.com/repos/mattkretz/wg21-papers/labels/P0214","name":"P0214","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-05T20:26:49Z","updated_at":"2017-02-05T21:51:18Z","closed_at":null,"body":"Since the `native` and `compatible` ABI aliases require a `T` parameter and `fixed_size` requires the `N` parameter, the non-default types spell out rather longish. I like to use the following aliases:\r\n```cpp\r\ntemplate <class T> using native_datapar = datapar<T, datapar_abi::native<T>>;\r\ntemplate <class T> using compatible_datapar = datapar<T, datapar_abi::compatible<T>>;\r\ntemplate <class T, size_t N> using fixed_size_datapar = datapar<T, datapar_abi::fixed_size<N>>;\r\n```"},"comment":{"url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/comments/277552593","html_url":"https://github.com/mattkretz/wg21-papers/issues/24#issuecomment-277552593","issue_url":"https://api.github.com/repos/mattkretz/wg21-papers/issues/24","id":277552593,"user":{"login":"jensmaurer","id":23412755,"avatar_url":"https://avatars.githubusercontent.com/u/23412755?v=3","gravatar_id":"","url":"https://api.github.com/users/jensmaurer","html_url":"https://github.com/jensmaurer","followers_url":"https://api.github.com/users/jensmaurer/followers","following_url":"https://api.github.com/users/jensmaurer/following{/other_user}","gists_url":"https://api.github.com/users/jensmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/jensmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensmaurer/subscriptions","organizations_url":"https://api.github.com/users/jensmaurer/orgs","repos_url":"https://api.github.com/users/jensmaurer/repos","events_url":"https://api.github.com/users/jensmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/jensmaurer/received_events","type":"User","site_admin":false},"created_at":"2017-02-05T21:51:18Z","updated_at":"2017-02-05T21:51:18Z","body":"I don't see a need why the native and compatible ABI tags have to take the \"T\". After all, they're just tags. All fancy dispatching can be done within the definition of datapar or mask.\r\n\r\nThat said, no objection to adding the aliases."}}
{"actor":{"display_login":"jensmaurer"}}