{"id":17047425,"url":"https://github.com/agauniyal/smartlist","last_synced_at":"2025-07-08T07:33:32.820Z","repository":{"id":98978002,"uuid":"106850731","full_name":"agauniyal/smartList","owner":"agauniyal","description":"Unique_ptr based Linked List implementation for reference","archived":false,"fork":false,"pushed_at":"2018-04-18T09:10:42.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T10:24:00.881Z","etag":null,"topics":["cpp","cpp14","linked-list","modern-cpp"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"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/agauniyal.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-10-13T16:54:15.000Z","updated_at":"2018-12-15T04:16:37.000Z","dependencies_parsed_at":"2023-06-25T23:53:08.782Z","dependency_job_id":null,"html_url":"https://github.com/agauniyal/smartList","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/agauniyal%2FsmartList","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2FsmartList/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2FsmartList/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agauniyal%2FsmartList/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agauniyal","download_url":"https://codeload.github.com/agauniyal/smartList/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052651,"owners_count":20553163,"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","linked-list","modern-cpp"],"created_at":"2024-10-14T09:49:26.557Z","updated_at":"2025-03-23T03:44:13.934Z","avatar_url":"https://github.com/agauniyal.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smartList\nUnique_ptr based Linked List implementation for reference\n\n```cpp\n#include \u003ciostream\u003e\n#include \"include/smartList.hpp\"\n\nusing std::cout;\n\nconst auto print = [](const auto N) { cout \u003c\u003c N \u003c\u003c ' '; };\n\nint main()\n{\n    SmartList\u003cint\u003e list;\n    std::cout \u003c\u003c std::boolalpha \u003c\u003c list.size() \u003c\u003c ' ' \u003c\u003c list.empty() \u003c\u003c '\\n';\n    list.push_back({ 2, 1, 1, 3, 4, 5 });\n    list.push_back(6);\n    list.forEach(print);\n    cout \u003c\u003c '\\n';\n    std::cout \u003c\u003c std::boolalpha \u003c\u003c list.size() \u003c\u003c ' ' \u003c\u003c list.empty() \u003c\u003c '\\n';\n\n    std::cout \u003c\u003c \"At index 0: \" \u003c\u003c list.value_at(0).value() \u003c\u003c '\\n';\n\n    list.remove(1);\n    list.forEach(print);\n    cout \u003c\u003c '\\n';\n\n    list.forEach([](auto \u0026num) { num *= 10; });\n    list.forEach(print);\n    cout \u003c\u003c '\\n';\n\n    list.reverse();\n    list.forEach(print);\n    cout \u003c\u003c '\\n';\n\n    std::cout \u003c\u003c \"At index 4: \" \u003c\u003c list.value_at(4).value() \u003c\u003c '\\n';\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fsmartlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagauniyal%2Fsmartlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagauniyal%2Fsmartlist/lists"}