{"id":20346111,"url":"https://github.com/huangsam/cpp-trial","last_synced_at":"2026-04-16T22:31:44.988Z","repository":{"id":225461384,"uuid":"756104168","full_name":"huangsam/cpp-trial","owner":"huangsam","description":"Exploring tools like CMake and GoogleTest","archived":false,"fork":false,"pushed_at":"2026-04-06T16:14:24.000Z","size":368,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-06T17:24:05.694Z","etag":null,"topics":["cmake","cpp","googletest","learn-to-code","ninja"],"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/huangsam.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-02-11T23:56:13.000Z","updated_at":"2026-04-06T16:14:28.000Z","dependencies_parsed_at":"2024-11-10T04:22:38.924Z","dependency_job_id":"af37c3b7-1c81-4bc3-81d2-d99bb74d6503","html_url":"https://github.com/huangsam/cpp-trial","commit_stats":null,"previous_names":["huangsam/cpp-trial"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/huangsam/cpp-trial","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fcpp-trial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fcpp-trial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fcpp-trial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fcpp-trial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huangsam","download_url":"https://codeload.github.com/huangsam/cpp-trial/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huangsam%2Fcpp-trial/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cmake","cpp","googletest","learn-to-code","ninja"],"created_at":"2024-11-14T22:11:25.654Z","updated_at":"2026-04-16T22:31:44.981Z","avatar_url":"https://github.com/huangsam.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Trial\n\n[![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/huangsam/cpp-trial/ci.yml)](https://github.com/huangsam/cpp-trial/actions)\n\nExploring modern C++ concepts (C++11 to C++20) with [CMake](https://cmake.org/) and [GoogleTest](https://google.github.io/googletest/) as development tools.\n\n\u003cimg src=\"images/cplusplus.webp\" alt=\"C++\" width=\"250px\"\u003e\n\n## Project goals\n\nThis repository serves as a comprehensive learning resource for modern C++ development, focusing on language mastery through C++11 to C++20 features, tool proficiency with CMake and GoogleTest, backend development patterns for systems programming, code quality with clean and testable C++ code, and progressive learning from basic concepts to advanced template metaprogramming.\n\n## Project structure\n\nThe codebase is organized into domain-specific modules:\n- `advanced/`: Metaprogramming, lambdas, and factorial templates.\n- `concurrency/`: Threading, async programming, and synchronization structures.\n- `memory/`: Smart pointers, move semantics, and custom memory management.\n- `oop/`: Inheritance, polymorphism, and core class design.\n- `stl/`: Standard Template Library containers, algorithms, and file I/O.\n- `types/`: Primitive type safety, namespaces, and enums/unions.\n\nFor a guided learning path of C++ concepts in this project, refer to [LESSONS.md](LESSONS.md).\n\n## Getting started\n\nFor everyone:\n\n```shell\n# Build with development mode\ncmake --preset dev\ncmake --build --preset dev\n\n# Run application and tests\n./build/bin/main.out\n./build/bin/test.out\n```\n\nFor performance engineers:\n\n```shell\n# Build with release mode\ncmake --preset release\ncmake --build --preset release\n\n# Run benchmarks\n./build/bin/bench/memory_bench.out\n./build/bin/bench/concurrency_bench.out\n./build/bin/bench/move_bench.out\n```\n\nFor contributors:\n\n```shell\n# Ensure all files are formatted before PR\ncmake --build build --target format\n```\n\n## Useful resources\n\n- \u003chttps://cplusplus.com/\u003e\n- \u003chttps://en.cppreference.com/w/\u003e\n- \u003chttps://google.github.io/styleguide/cppguide.html\u003e\n- \u003chttps://google.github.io/googletest/reference/assertions.html\u003e\n- \u003chttps://cmake.org/cmake/help/git-master/manual/cmake-commands.7.html\u003e\n- \u003chttps://clang.llvm.org/docs/ClangFormatStyleOptions.html\u003e\n- \u003chttps://clang.llvm.org/extra/clang-tidy/checks/list.html\u003e\n- \u003chttps://github.com/fffaraz/awesome-cpp\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangsam%2Fcpp-trial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuangsam%2Fcpp-trial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuangsam%2Fcpp-trial/lists"}