{"action":"opened","number":139,"pull_request":{"url":"https://api.github.com/repos/ericniebler/range-v3/pulls/139","id":34277282,"html_url":"https://github.com/ericniebler/range-v3/pull/139","diff_url":"https://github.com/ericniebler/range-v3/pull/139.diff","patch_url":"https://github.com/ericniebler/range-v3/pull/139.patch","issue_url":"https://api.github.com/repos/ericniebler/range-v3/issues/139","number":139,"state":"open","locked":false,"title":"enable relaxed constexpr in core","user":{"login":"gnzlbg","id":904614,"avatar_url":"https://avatars.githubusercontent.com/u/904614?v=3","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"body":"- adds constexpr to:\r\n  - begin, end, rbegin, rend, cbegin, cend, crbegin, crend\r\n    - note: hijack ADL for C-arrays and initializer lists in ranges::rbegin/rend/crbegin/crend \r\n      because std::rbegin/rend/crbegin/crend are not constexpr (while std::begin/std::end are). \r\n    - a constexpr reverse_iterator is added to utility to make this work.\r\n  - advance, next, prev, distance, iter_size, swap, indirect_swap\r\n    - note 1: hijack ADL for pointers since std::advance is not constexpr\r\n    - note 2: because ADL does happen, and std::advance is not constexpr, \r\n      I am defining in the tests a constexpr advance function for the test iterators. \r\n      This is suboptimal, it would be better if we could kill std::advance and use range-v3 one, \r\n      and maybe a different function like e.g. advance_customization_point for counted iterator.\r\n    - note 3: std::swap is not imported any more since it is not constexpr\r\n  - front, back, empty, size, at\r\n- adds utilities: array, reverse_iterator, address_of\r\n  - note 1: array is used only for testing but is useful on its own.\r\n  - note 2: array uses some algorithms that are not constexpr yet\r\n  - note 3: the address_of utility is used already, but it will also be useful later\r\n    when relaxed constexpr support is added to variant.\r\n- fix: missing include in front/back.hpp\r\n- fix: bug with std::rbegin for initializer_list","created_at":"2015-04-28T15:12:42Z","updated_at":"2015-04-28T15:12:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ericniebler/range-v3/pulls/139/commits","review_comments_url":"https://api.github.com/repos/ericniebler/range-v3/pulls/139/comments","review_comment_url":"https://api.github.com/repos/ericniebler/range-v3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ericniebler/range-v3/issues/139/comments","statuses_url":"https://api.github.com/repos/ericniebler/range-v3/statuses/0fb3a13ddf458da06b20ea5eb0c360ef49c17935","head":{"label":"gnzlbg:core_cxx14","ref":"core_cxx14","sha":"0fb3a13ddf458da06b20ea5eb0c360ef49c17935","user":{"login":"gnzlbg","id":904614,"avatar_url":"https://avatars.githubusercontent.com/u/904614?v=3","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"repo":{"id":33306276,"name":"range-v3","full_name":"gnzlbg/range-v3","owner":{"login":"gnzlbg","id":904614,"avatar_url":"https://avatars.githubusercontent.com/u/904614?v=3","gravatar_id":"","url":"https://api.github.com/users/gnzlbg","html_url":"https://github.com/gnzlbg","followers_url":"https://api.github.com/users/gnzlbg/followers","following_url":"https://api.github.com/users/gnzlbg/following{/other_user}","gists_url":"https://api.github.com/users/gnzlbg/gists{/gist_id}","starred_url":"https://api.github.com/users/gnzlbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnzlbg/subscriptions","organizations_url":"https://api.github.com/users/gnzlbg/orgs","repos_url":"https://api.github.com/users/gnzlbg/repos","events_url":"https://api.github.com/users/gnzlbg/events{/privacy}","received_events_url":"https://api.github.com/users/gnzlbg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gnzlbg/range-v3","description":"Experimental range library for C++11/14/17","fork":true,"url":"https://api.github.com/repos/gnzlbg/range-v3","forks_url":"https://api.github.com/repos/gnzlbg/range-v3/forks","keys_url":"https://api.github.com/repos/gnzlbg/range-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnzlbg/range-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnzlbg/range-v3/teams","hooks_url":"https://api.github.com/repos/gnzlbg/range-v3/hooks","issue_events_url":"https://api.github.com/repos/gnzlbg/range-v3/issues/events{/number}","events_url":"https://api.github.com/repos/gnzlbg/range-v3/events","assignees_url":"https://api.github.com/repos/gnzlbg/range-v3/assignees{/user}","branches_url":"https://api.github.com/repos/gnzlbg/range-v3/branches{/branch}","tags_url":"https://api.github.com/repos/gnzlbg/range-v3/tags","blobs_url":"https://api.github.com/repos/gnzlbg/range-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnzlbg/range-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnzlbg/range-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnzlbg/range-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnzlbg/range-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/gnzlbg/range-v3/languages","stargazers_url":"https://api.github.com/repos/gnzlbg/range-v3/stargazers","contributors_url":"https://api.github.com/repos/gnzlbg/range-v3/contributors","subscribers_url":"https://api.github.com/repos/gnzlbg/range-v3/subscribers","subscription_url":"https://api.github.com/repos/gnzlbg/range-v3/subscription","commits_url":"https://api.github.com/repos/gnzlbg/range-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnzlbg/range-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnzlbg/range-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnzlbg/range-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnzlbg/range-v3/contents/{+path}","compare_url":"https://api.github.com/repos/gnzlbg/range-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnzlbg/range-v3/merges","archive_url":"https://api.github.com/repos/gnzlbg/range-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnzlbg/range-v3/downloads","issues_url":"https://api.github.com/repos/gnzlbg/range-v3/issues{/number}","pulls_url":"https://api.github.com/repos/gnzlbg/range-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/gnzlbg/range-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/gnzlbg/range-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnzlbg/range-v3/labels{/name}","releases_url":"https://api.github.com/repos/gnzlbg/range-v3/releases{/id}","created_at":"2015-04-02T11:54:21Z","updated_at":"2015-04-14T13:14:47Z","pushed_at":"2015-04-28T15:10:16Z","git_url":"git://github.com/gnzlbg/range-v3.git","ssh_url":"git@github.com:gnzlbg/range-v3.git","clone_url":"https://github.com/gnzlbg/range-v3.git","svn_url":"https://github.com/gnzlbg/range-v3","homepage":"","size":8937,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ericniebler:master","ref":"master","sha":"5e60f115f90cfd6bec84ba2b29133bce3e36447f","user":{"login":"ericniebler","id":225757,"avatar_url":"https://avatars.githubusercontent.com/u/225757?v=3","gravatar_id":"","url":"https://api.github.com/users/ericniebler","html_url":"https://github.com/ericniebler","followers_url":"https://api.github.com/users/ericniebler/followers","following_url":"https://api.github.com/users/ericniebler/following{/other_user}","gists_url":"https://api.github.com/users/ericniebler/gists{/gist_id}","starred_url":"https://api.github.com/users/ericniebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericniebler/subscriptions","organizations_url":"https://api.github.com/users/ericniebler/orgs","repos_url":"https://api.github.com/users/ericniebler/repos","events_url":"https://api.github.com/users/ericniebler/events{/privacy}","received_events_url":"https://api.github.com/users/ericniebler/received_events","type":"User","site_admin":false},"repo":{"id":14305727,"name":"range-v3","full_name":"ericniebler/range-v3","owner":{"login":"ericniebler","id":225757,"avatar_url":"https://avatars.githubusercontent.com/u/225757?v=3","gravatar_id":"","url":"https://api.github.com/users/ericniebler","html_url":"https://github.com/ericniebler","followers_url":"https://api.github.com/users/ericniebler/followers","following_url":"https://api.github.com/users/ericniebler/following{/other_user}","gists_url":"https://api.github.com/users/ericniebler/gists{/gist_id}","starred_url":"https://api.github.com/users/ericniebler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericniebler/subscriptions","organizations_url":"https://api.github.com/users/ericniebler/orgs","repos_url":"https://api.github.com/users/ericniebler/repos","events_url":"https://api.github.com/users/ericniebler/events{/privacy}","received_events_url":"https://api.github.com/users/ericniebler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ericniebler/range-v3","description":"Experimental range library for C++11/14/17","fork":false,"url":"https://api.github.com/repos/ericniebler/range-v3","forks_url":"https://api.github.com/repos/ericniebler/range-v3/forks","keys_url":"https://api.github.com/repos/ericniebler/range-v3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ericniebler/range-v3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ericniebler/range-v3/teams","hooks_url":"https://api.github.com/repos/ericniebler/range-v3/hooks","issue_events_url":"https://api.github.com/repos/ericniebler/range-v3/issues/events{/number}","events_url":"https://api.github.com/repos/ericniebler/range-v3/events","assignees_url":"https://api.github.com/repos/ericniebler/range-v3/assignees{/user}","branches_url":"https://api.github.com/repos/ericniebler/range-v3/branches{/branch}","tags_url":"https://api.github.com/repos/ericniebler/range-v3/tags","blobs_url":"https://api.github.com/repos/ericniebler/range-v3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ericniebler/range-v3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ericniebler/range-v3/git/refs{/sha}","trees_url":"https://api.github.com/repos/ericniebler/range-v3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ericniebler/range-v3/statuses/{sha}","languages_url":"https://api.github.com/repos/ericniebler/range-v3/languages","stargazers_url":"https://api.github.com/repos/ericniebler/range-v3/stargazers","contributors_url":"https://api.github.com/repos/ericniebler/range-v3/contributors","subscribers_url":"https://api.github.com/repos/ericniebler/range-v3/subscribers","subscription_url":"https://api.github.com/repos/ericniebler/range-v3/subscription","commits_url":"https://api.github.com/repos/ericniebler/range-v3/commits{/sha}","git_commits_url":"https://api.github.com/repos/ericniebler/range-v3/git/commits{/sha}","comments_url":"https://api.github.com/repos/ericniebler/range-v3/comments{/number}","issue_comment_url":"https://api.github.com/repos/ericniebler/range-v3/issues/comments{/number}","contents_url":"https://api.github.com/repos/ericniebler/range-v3/contents/{+path}","compare_url":"https://api.github.com/repos/ericniebler/range-v3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ericniebler/range-v3/merges","archive_url":"https://api.github.com/repos/ericniebler/range-v3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ericniebler/range-v3/downloads","issues_url":"https://api.github.com/repos/ericniebler/range-v3/issues{/number}","pulls_url":"https://api.github.com/repos/ericniebler/range-v3/pulls{/number}","milestones_url":"https://api.github.com/repos/ericniebler/range-v3/milestones{/number}","notifications_url":"https://api.github.com/repos/ericniebler/range-v3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ericniebler/range-v3/labels{/name}","releases_url":"https://api.github.com/repos/ericniebler/range-v3/releases{/id}","created_at":"2013-11-11T16:05:48Z","updated_at":"2015-04-28T05:38:57Z","pushed_at":"2015-04-28T05:38:57Z","git_url":"git://github.com/ericniebler/range-v3.git","ssh_url":"git@github.com:ericniebler/range-v3.git","clone_url":"https://github.com/ericniebler/range-v3.git","svn_url":"https://github.com/ericniebler/range-v3","homepage":"","size":11883,"stargazers_count":230,"watchers_count":230,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":10,"forks":35,"open_issues":10,"watchers":230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ericniebler/range-v3/pulls/139"},"html":{"href":"https://github.com/ericniebler/range-v3/pull/139"},"issue":{"href":"https://api.github.com/repos/ericniebler/range-v3/issues/139"},"comments":{"href":"https://api.github.com/repos/ericniebler/range-v3/issues/139/comments"},"review_comments":{"href":"https://api.github.com/repos/ericniebler/range-v3/pulls/139/comments"},"review_comment":{"href":"https://api.github.com/repos/ericniebler/range-v3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ericniebler/range-v3/pulls/139/commits"},"statuses":{"href":"https://api.github.com/repos/ericniebler/range-v3/statuses/0fb3a13ddf458da06b20ea5eb0c360ef49c17935"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1496,"deletions":89,"changed_files":16}}