{"id":15047314,"url":"https://github.com/igozdev/charimpl","last_synced_at":"2026-02-05T12:31:38.651Z","repository":{"id":186254516,"uuid":"674897475","full_name":"igozdev/charimpl","owner":"igozdev","description":"Compile-time header-only char implementation checking for C++03/11/14/17/20","archived":false,"fork":false,"pushed_at":"2023-08-05T06:21:49.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-16T17:27:18.457Z","etag":null,"topics":["compile-time","cpp","cpp03","cpp11","cpp14","cpp17","cpp20","header-only","modern-cpp","no-dependencies"],"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/igozdev.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}},"created_at":"2023-08-05T05:12:16.000Z","updated_at":"2023-12-01T21:48:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"916cbfc4-da07-400c-a6d3-322690d4eb65","html_url":"https://github.com/igozdev/charimpl","commit_stats":null,"previous_names":["igozdev/charimpl"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/igozdev/charimpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igozdev%2Fcharimpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igozdev%2Fcharimpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igozdev%2Fcharimpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igozdev%2Fcharimpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igozdev","download_url":"https://codeload.github.com/igozdev/charimpl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igozdev%2Fcharimpl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29121761,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T10:47:47.471Z","status":"ssl_error","status_checked_at":"2026-02-05T10:45:08.119Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["compile-time","cpp","cpp03","cpp11","cpp14","cpp17","cpp20","header-only","modern-cpp","no-dependencies"],"created_at":"2024-09-24T20:56:32.658Z","updated_at":"2026-02-05T12:31:38.630Z","avatar_url":"https://github.com/igozdev.png","language":"C++","readme":"# charimpl\n\u003e Compile-time header-only `char` implementation checking for **C++03**/**11**/**14**/**17**/**20**\n\n[![license][badge.license]][license]\n[![release][badge.release]][release]\n[![godbolt][badge.godbolt]][godbolt]\n\n[badge.license]: https://img.shields.io/badge/license-mit-green.svg\n[license]: https://github.com/igozdev/charimpl/blob/main/LICENSE\n\n[badge.release]: https://img.shields.io/github/release/igozdev/charimpl.svg\n[release]: https://github.com/igozdev/charimpl/releases/latest\n\n[badge.godbolt]: https://img.shields.io/badge/try_it-on_godbolt-indigo.svg\n[godbolt]: https://godbolt.org/z/rGqM1YMsd\n\n# Example\n```cpp\n#include \u003ciostream\u003e\n#include \u003ccharimpl/charimpl.hpp\u003e\n\nint main()\n{\n    std::cout \u003c\u003c std::boolalpha\n        \u003c\u003c charimpl::is_ascii() \u003c\u003c std::endl\n        \u003c\u003c charimpl::is_ebcdic() \u003c\u003c std::endl\n        \u003c\u003c charimpl::is_ebcdic037() \u003c\u003c std::endl\n        \u003c\u003c charimpl::is_ebcdic1047() \u003c\u003c std::endl;\n}\n```\n\n# \nAll functions are marked as consteval/constexpr and noexcept if allowed by the compiler.\n```c++\nbool charimpl::is_ascii(); // Returns true if ASCII encoding is currently in use, false otherwise\nbool charimpl::is_ebcdic(); // Returns true if any form of EBCDIC encoding is currently in use, false otherwise\nbool charimpl::is_ebcdic037(); // Returns true if EBCDIC037/IBM037 encoding is currently in use, false otherwise\nbool charimpl::is_ebcdic273(); // Returns true if EBCDIC273/IBM037 encoding is currently in use, false otherwise\nbool charimpl::is_ebcdic1047(); // Returns true if EBCDIC1047/IBM1047 encoding is currently in use, false otherwise\n```\n```c++\nCHARIMPL_ASCII_EXPR // Macro which expands to an expression equal to the result of charimpl::is_ascii()\nCHARIMPL_EBCDIC_EXPR // Macro which expands to an expression equal to the result of charimpl::is_ebcdic()\nCHARIMPL_EBCDIC037_EXPR // Macro which expands to an expression equal to the result of charimpl::is_ebcdic037()\nCHARIMPL_EBCDIC273_EXPR // Macro which expands to an expression equal to the result of charimpl::is_ebcdic273()\nCHARIMPL_EBCDIC1047_EXPR // Macro which expands to an expression equal to the result of charimpl::is_ebcdic1047()\n```\n*Note: Macros should be surrounded with parentheses when used in larger statements in order to avoid potential issues with operator precedence*\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figozdev%2Fcharimpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figozdev%2Fcharimpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figozdev%2Fcharimpl/lists"}