{"id":18638425,"url":"https://github.com/ethiraric/compilestring","last_synced_at":"2025-11-04T16:30:18.198Z","repository":{"id":93870801,"uuid":"142312062","full_name":"Ethiraric/CompileString","owner":"Ethiraric","description":"A tiny header to manipulate \"raw strings\" in a `std::string` fashion at compile-time.","archived":false,"fork":false,"pushed_at":"2018-07-26T16:11:55.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T09:27:37.020Z","etag":null,"topics":["compile-time","cpp"],"latest_commit_sha":null,"homepage":null,"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/Ethiraric.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":"2018-07-25T14:32:51.000Z","updated_at":"2018-07-26T16:11:57.000Z","dependencies_parsed_at":"2023-08-27T16:18:06.096Z","dependency_job_id":null,"html_url":"https://github.com/Ethiraric/CompileString","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/Ethiraric%2FCompileString","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ethiraric%2FCompileString/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ethiraric%2FCompileString/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ethiraric%2FCompileString/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ethiraric","download_url":"https://codeload.github.com/Ethiraric/CompileString/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239435998,"owners_count":19638242,"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":["compile-time","cpp"],"created_at":"2024-11-07T05:41:35.176Z","updated_at":"2025-11-04T16:30:18.138Z","avatar_url":"https://github.com/Ethiraric.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CompileString\nA tiny header to manipulate \"raw strings\" in a `std::string` fashion at\ncompile-time.\n\nA `toString` function on integers is provided in its own header if needs be.\n\n## How it works\n`CompileString` is templated over the length of the string (`CompileString\u003c4\u003e`)\nand holds a `std::array\u003cchar, N + 1\u003e` (`N` being the length of the string, `+\n1` to store the end-of-string character `\\0`).\n\nIn order to add two strings, you need to add their lengths and allocate a new\n`array`. This means that the type returned by `operator+` is different from the\ntype of its 2 operands. A `CompileString` is only assignable to another if both\ntheir lengths are the same.\n\n## Bugs and issues\nFeel free to open an Issue or a Pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethiraric%2Fcompilestring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethiraric%2Fcompilestring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethiraric%2Fcompilestring/lists"}