{"id":15047513,"url":"https://github.com/kuro337/modern-cpp","last_synced_at":"2026-02-14T09:06:44.654Z","repository":{"id":174076248,"uuid":"651736399","full_name":"kuro337/Modern-CPP","owner":"kuro337","description":"Just a repo of good idiomatic C++ code snippets I tend to find useful.","archived":false,"fork":false,"pushed_at":"2023-08-09T02:47:00.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T10:47:18.289Z","etag":null,"topics":["cpp","cpp14","cpp17","cpp21"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kuro337.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-10T00:23:57.000Z","updated_at":"2023-10-12T05:27:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"509a5d03-44b0-49f5-8fa3-fa23f957933f","html_url":"https://github.com/kuro337/Modern-CPP","commit_stats":null,"previous_names":["chinmay337/modern-cpp","kuro337/modern-cpp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kuro337/Modern-CPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro337%2FModern-CPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro337%2FModern-CPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro337%2FModern-CPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro337%2FModern-CPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuro337","download_url":"https://codeload.github.com/kuro337/Modern-CPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuro337%2FModern-CPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762922,"owners_count":26041444,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","cpp17","cpp21"],"created_at":"2024-09-24T20:59:24.429Z","updated_at":"2025-10-07T10:47:20.134Z","avatar_url":"https://github.com/kuro337.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n███╗   ███╗ ██████╗ ██████╗ ███████╗██████╗ ███╗   ██╗     ██████╗██████╗ ██████╗\n████╗ ████║██╔═══██╗██╔══██╗██╔════╝██╔══██╗████╗  ██║    ██╔════╝██╔══██╗██╔══██╗\n██╔████╔██║██║   ██║██║  ██║█████╗  ██████╔╝██╔██╗ ██║    ██║     ██████╔╝██████╔╝\n██║╚██╔╝██║██║   ██║██║  ██║██╔══╝  ██╔══██╗██║╚██╗██║    ██║     ██╔═══╝ ██╔═══╝\n██║ ╚═╝ ██║╚██████╔╝██████╔╝███████╗██║  ██║██║ ╚████║    ╚██████╗██║     ██║\n╚═╝     ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝     ╚═════╝╚═╝     ╚═╝\n\n\n```\n\n# Modern C++\n\n- Just a repo of good C++ code I write and find useful.\n\n\u003cbr/\u003e\n\n- My environment\n\n  - `g++ (GCC)`\n  - `Ubuntu 20.04.2 LTS`\n  - `Linux 5.8.0-53-generic x86_64`\n  - Mostly `C++17` and `C++20`\n  - Docker with `Ubuntu 20.04.2 LTS` and `g++ (GCC)` or `clang++ (LLVM)` for uniform build and deployments\n\n\u003cbr/\u003e\n\n- Reference build and run\n\n```bash\n# Development\ng++ -std=c++20 -o quicksort quicksort.cpp \u0026\u0026 ./quicksort\n\n# Production\ng++ -std=c++20 -O3 -o quicksort quicksort.cpp \u0026\u0026 ./quicksort\n```\n\n\u003cbr/\u003e\n\n- `huffmanEncoding.cpp` - implementation of Huffman Encoding in `C++20` using an `Unbalanced Binary Tree`, `std::map`, `std::priority_queue`, and `std::bitset`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuro337%2Fmodern-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuro337%2Fmodern-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuro337%2Fmodern-cpp/lists"}