| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:7ab6c81a-5401-6165-b99b-058260aa6e3a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9E0C:20CD3B:2177F6:2D7510:69720C06 |
| html-safe-nonce | 97bac23abcd77b67f297c12a3fefbd35fae6819628feca7d897c092b47159ea9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTBDOjIwQ0QzQjoyMTc3RjY6MkQ3NTEwOjY5NzIwQzA2IiwidmlzaXRvcl9pZCI6IjE4ODkyNDA5NzU3OTYyMTA2OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 04301cc4347a711486d9dc4f49037b27b5359eedc0dc7b269558fc2c69654b31 |
| hovercard-subject-tag | pull_request:958333261 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/boostorg/algorithm/101/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/acffb5a6aa0283c6b6f73e08bfa7595ca93f5652fab5dbd533b9d940cf1b4fc0/boostorg/algorithm/pull/101 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/acffb5a6aa0283c6b6f73e08bfa7595ca93f5652fab5dbd533b9d940cf1b4fc0/boostorg/algorithm/pull/101 |
| og:image:alt | Problem:
There is no algorithm that generalizes std::iota. Filling a range 2
elements at a time is hard, more complex patterns are increasingly
difficult.
Solution:
Implement iterate and iterat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgopel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 453de246939b1e04d711e109432e2df10933270413df93b7a8f8f1df8dda7f18 |
| turbo-cache-control | no-preview |
| go-import | github.com/boostorg/algorithm git https://github.com/boostorg/algorithm.git |
| octolytics-dimension-user_id | 3170529 |
| octolytics-dimension-user_login | boostorg |
| octolytics-dimension-repository_id | 7589907 |
| octolytics-dimension-repository_nwo | boostorg/algorithm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7589907 |
| octolytics-dimension-repository_network_root_nwo | boostorg/algorithm |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 12756e5bdb9000be815bbf20a1acc7935638e596 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#start-of-content |
|
| https://patch-diff.githubusercontent.com/ |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Falgorithm%2Fpull%2F101 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Falgorithm%2Fpull%2F101 |
|
Sign up
| https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=boostorg%2Falgorithm |
| Reload | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| Reload | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| Reload | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
boostorg
| https://patch-diff.githubusercontent.com/boostorg |
| algorithm | https://patch-diff.githubusercontent.com/boostorg/algorithm |
|
Notifications
| https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Falgorithm |
|
Fork
117
| https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Falgorithm |
|
Star
127
| https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Falgorithm |
|
Code
| https://patch-diff.githubusercontent.com/boostorg/algorithm |
|
Issues
11
| https://patch-diff.githubusercontent.com/boostorg/algorithm/issues |
|
Pull requests
19
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/boostorg/algorithm/actions |
|
Projects
0
| https://patch-diff.githubusercontent.com/boostorg/algorithm/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/boostorg/algorithm/wiki |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://patch-diff.githubusercontent.com/boostorg/algorithm/security |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
Insights
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pulse |
|
Code
| https://patch-diff.githubusercontent.com/boostorg/algorithm |
|
Issues
| https://patch-diff.githubusercontent.com/boostorg/algorithm/issues |
|
Pull requests
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pulls |
|
Actions
| https://patch-diff.githubusercontent.com/boostorg/algorithm/actions |
|
Projects
| https://patch-diff.githubusercontent.com/boostorg/algorithm/projects |
|
Wiki
| https://patch-diff.githubusercontent.com/boostorg/algorithm/wiki |
|
Security
| https://patch-diff.githubusercontent.com/boostorg/algorithm/security |
|
Insights
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pulse |
| Sign up for GitHub
| https://patch-diff.githubusercontent.com/signup?return_to=%2Fboostorg%2Falgorithm%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://patch-diff.githubusercontent.com/login?return_to=%2Fboostorg%2Falgorithm%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issue-comment-box |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| boostorg:develop | https://patch-diff.githubusercontent.com/boostorg/algorithm/tree/develop |
| jgopel:iterate | https://patch-diff.githubusercontent.com/jgopel/algorithm/tree/iterate |
|
Implement iterate algorithms
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#top |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| boostorg:develop | https://patch-diff.githubusercontent.com/boostorg/algorithm/tree/develop |
| jgopel:iterate | https://patch-diff.githubusercontent.com/jgopel/algorithm/tree/iterate |
|
Conversation
6
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
Commits
2
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/commits |
|
Checks
0
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/checks |
|
Files changed
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/files |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| https://github.co/hiddenchars |
| https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/{{ revealButtonHref }} |
|
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| Jun 5, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issue-1260944041 |
| @elbeno | https://github.com/elbeno |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
| https://patch-diff.githubusercontent.com/jgopel |
| Fix misalignments in Jamfile | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/commits/dbf91f45c7f9136877398f09b3078a0c0d02d43e |
| dbf91f4 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/commits/dbf91f45c7f9136877398f09b3078a0c0d02d43e |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| force-pushed | https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/9f301d35c22365a4ac0b09d7ecce88b4b8d31c00..64cd52a9929dae84733a35dda471ea21d164677c |
| 9f301d3 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/9f301d35c22365a4ac0b09d7ecce88b4b8d31c00 |
| 64cd52a | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/64cd52a9929dae84733a35dda471ea21d164677c |
|
Compare
| https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/9f301d35c22365a4ac0b09d7ecce88b4b8d31c00..64cd52a9929dae84733a35dda471ea21d164677c |
| June 5, 2022 14:30 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#event-6743617930 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| Jun 5, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#event-6743618077 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| force-pushed | https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/64cd52a9929dae84733a35dda471ea21d164677c..a648db385615f3b6d5b6475a53d6f35a5842af3d |
| 64cd52a | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/64cd52a9929dae84733a35dda471ea21d164677c |
| a648db3 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/a648db385615f3b6d5b6475a53d6f35a5842af3d |
|
Compare
| https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/64cd52a9929dae84733a35dda471ea21d164677c..a648db385615f3b6d5b6475a53d6f35a5842af3d |
| June 6, 2022 01:39 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#event-6749635193 |
| https://patch-diff.githubusercontent.com/grisumbras |
| grisumbras | https://patch-diff.githubusercontent.com/grisumbras |
| Jun 6, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1146996559 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| Jun 6, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1147405265 |
| @grisumbras | https://github.com/grisumbras |
| copy_if() and its variants | https://github.com/boostorg/algorithm/blob/00c6f1d6c10508d06598466a15190fc9812c9100/include/boost/algorithm/cxx11/copy_if.hpp#L33 |
| transform_inclusive_scan() and its variants | https://github.com/boostorg/algorithm/blob/00c6f1d6c10508d06598466a15190fc9812c9100/include/boost/algorithm/cxx17/transform_inclusive_scan.hpp#L40 |
| one uses ForwardIterator | https://github.com/boostorg/algorithm/blob/00c6f1d6c10508d06598466a15190fc9812c9100/include/boost/algorithm/cxx11/iota.hpp#L28 |
| the other uses OutputIterator | https://github.com/boostorg/algorithm/blob/00c6f1d6c10508d06598466a15190fc9812c9100/include/boost/algorithm/cxx11/iota.hpp#L55 |
| such as is_palindrome() | https://github.com/boostorg/algorithm/blob/00c6f1d6c10508d06598466a15190fc9812c9100/include/boost/algorithm/is_palindrome.hpp#L38 |
| iterator concepts | https://en.cppreference.com/w/cpp/header/iterator |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| https://patch-diff.githubusercontent.com/elbeno |
| elbeno | https://patch-diff.githubusercontent.com/elbeno |
| Jun 6, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1147474329 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| https://patch-diff.githubusercontent.com/grisumbras |
| grisumbras | https://patch-diff.githubusercontent.com/grisumbras |
| Jun 6, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1147787334 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| force-pushed | https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/a648db385615f3b6d5b6475a53d6f35a5842af3d..db7e1788f84c6505c87fd4fdd879d28c77d959b5 |
| a648db3 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/a648db385615f3b6d5b6475a53d6f35a5842af3d |
| db7e178 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/db7e1788f84c6505c87fd4fdd879d28c77d959b5 |
|
Compare
| https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/a648db385615f3b6d5b6475a53d6f35a5842af3d..db7e1788f84c6505c87fd4fdd879d28c77d959b5 |
| June 8, 2022 03:25 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#event-6766215694 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| Jun 8, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1149418525 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
| https://patch-diff.githubusercontent.com/jgopel |
| Implement iterate algorithms | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/commits/47092c1f10a101a144c4a31af1be8dbe87bfbc1b |
| 47092c1 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101/commits/47092c1f10a101a144c4a31af1be8dbe87bfbc1b |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| force-pushed | https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/db7e1788f84c6505c87fd4fdd879d28c77d959b5..47092c1f10a101a144c4a31af1be8dbe87bfbc1b |
| db7e178 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/db7e1788f84c6505c87fd4fdd879d28c77d959b5 |
| 47092c1 | https://patch-diff.githubusercontent.com/boostorg/algorithm/commit/47092c1f10a101a144c4a31af1be8dbe87bfbc1b |
|
Compare
| https://patch-diff.githubusercontent.com/boostorg/algorithm/compare/db7e1788f84c6505c87fd4fdd879d28c77d959b5..47092c1f10a101a144c4a31af1be8dbe87bfbc1b |
| June 8, 2022 16:40 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#event-6771522495 |
| https://patch-diff.githubusercontent.com/jgopel |
| jgopel | https://patch-diff.githubusercontent.com/jgopel |
| Jun 8, 2022 | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101#issuecomment-1150167190 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
| Sign up for free | https://patch-diff.githubusercontent.com/join?source=comment-repo |
| Sign in to comment | https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fboostorg%2Falgorithm%2Fpull%2F101 |
| Please reload this page | https://patch-diff.githubusercontent.com/boostorg/algorithm/pull/101 |
|
| https://patch-diff.githubusercontent.com/jgopel |
|
| https://patch-diff.githubusercontent.com/grisumbras |
|
| https://patch-diff.githubusercontent.com/elbeno |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |