{"id":21928681,"url":"https://github.com/muellan/sequence","last_synced_at":"2025-03-22T12:24:56.528Z","repository":{"id":73309218,"uuid":"110269836","full_name":"muellan/sequence","owner":"muellan","description":"Header-only sequence generators for C++14","archived":false,"fork":false,"pushed_at":"2017-11-10T16:45:16.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T11:49:57.041Z","etag":null,"topics":["cpp","cpp14","generator","header-only","sequence"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/muellan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-10T16:44:57.000Z","updated_at":"2021-11-03T10:56:12.000Z","dependencies_parsed_at":"2023-04-13T01:23:09.878Z","dependency_job_id":null,"html_url":"https://github.com/muellan/sequence","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fsequence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fsequence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fsequence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fsequence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muellan","download_url":"https://codeload.github.com/muellan/sequence/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244955088,"owners_count":20537886,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","cpp14","generator","header-only","sequence"],"created_at":"2024-11-28T22:27:36.463Z","updated_at":"2025-03-22T12:24:56.504Z","avatar_url":"https://github.com/muellan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"AM sequence\n==========\n\nHeader-only collection of sequence generators for C++14.\n\n\n## Quick Overview\n\n### Sequences\n - ```linear_sequence```\n - ```ascending_sequence```\n - ```descending_sequence```\n - ```geometric_sequence```\n - ```fibonacci_sequence```\n\n - ```replica_sequence``` \n      sequence of n times the same element\n\n - ```interleaved_bit_sequence``` \n      interleaved 1s/true values with an initial offset\n      e.g. {.........1....1....1....1....1....1}\n\n\n### Sequence Decorators\n - ```repeated\u003cSequence\u003e``` repeats an underlying sequence several times\n - ```combined\u003cSequence1,Sequence2\u003e``` concatenates two sequences\n \n\n\n\n## Interfaces\n\nA sequence generator acts similar to ```InputIterator``` and ```InputRange```.\nMinimum common interface:\n```cpp\n//current value\nvalue_type Sequence::operator * ();\n\n//forward to next value\nSequence\u0026 Sequence::operator ++ ();\n\n//range adaption\nauto Sequence::begin();  //at current value\nauto Sequence::end();    //one after the last value\n```\n\n\n## Requirements\nRequires C++14 conforming compiler.\nTested with g++ 6.1\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuellan%2Fsequence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuellan%2Fsequence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuellan%2Fsequence/lists"}