{"id":18076282,"url":"https://github.com/scivision/cpp23-examples","last_synced_at":"2025-10-04T20:06:17.631Z","repository":{"id":64405895,"uuid":"192834465","full_name":"scivision/Cpp23-examples","owner":"scivision","description":"Example C++23 and C++20 syntax and tests of compilers and CMake","archived":false,"fork":false,"pushed_at":"2025-04-18T23:04:49.000Z","size":232,"stargazers_count":107,"open_issues_count":0,"forks_count":16,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-25T23:05:07.704Z","etag":null,"topics":["cpp23"],"latest_commit_sha":null,"homepage":"","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/scivision.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,"zenodo":null}},"created_at":"2019-06-20T02:27:42.000Z","updated_at":"2025-05-19T12:34:26.000Z","dependencies_parsed_at":"2024-12-24T03:09:11.357Z","dependency_job_id":"8ed7bf71-0873-44a8-b693-b1889c7f764e","html_url":"https://github.com/scivision/Cpp23-examples","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/scivision/Cpp23-examples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2FCpp23-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2FCpp23-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2FCpp23-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2FCpp23-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scivision","download_url":"https://codeload.github.com/scivision/Cpp23-examples/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scivision%2FCpp23-examples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278366664,"owners_count":25975095,"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-04T02:00:05.491Z","response_time":63,"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":["cpp23"],"created_at":"2024-10-31T11:09:28.240Z","updated_at":"2025-10-04T20:06:17.626Z","avatar_url":"https://github.com/scivision.png","language":"C++","readme":"# C++23 and C++20 Examples\n\n[![ci](https://github.com/scivision/Cpp23-examples/actions/workflows/cmake.yml/badge.svg)](https://github.com/scivision/Cpp23-examples/actions/workflows/cmake.yml)\n\nExamples of using CMake with\n[C++26](https://en.cppreference.com/w/cpp/26),\nC++23, and C++20 standard syntax.\nThis is useful for testing of compilers and build systems--already several bugs have been so detected.\n\nWe typically use\n[feature testing macros](https://en.cppreference.com/w/cpp/feature_test)\nto detect a feature, but some features require a small compile and link test.\n\n[C++ execution policy benchmark](./execution_policy/Readme.md)\n\n## Troubleshooting\n\nIf the cstdlib check fails on macOS, this can be a symptom of\n[Xcode being incompatible](https://www.scivision.dev/cmake-macos-environment-xcode/)\nwith the compiler.\nTry setting environment variable `SDKROOT` to the previous Xcode SDK path that worked previous to the Xcode upgrade that broke.\n\n\n## Related projects\n\n* [C23 examples](https://github.com/scivision/C23-examples)\n* [C++17 filesystem application](https://github.com/scivision/fortran-filesystem)\n* [C++ modules](https://github.com/scivision/CppModules)\n\n## References\n\n* [Each new C++20 feature with example in one page](https://oleksandrkvl.github.io/2021/04/02/cpp-20-overview.html)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscivision%2Fcpp23-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscivision%2Fcpp23-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscivision%2Fcpp23-examples/lists"}