{"id":17954395,"url":"https://github.com/mathbunnyru/funny-cpp","last_synced_at":"2025-04-03T16:42:31.822Z","repository":{"id":115382582,"uuid":"142067923","full_name":"mathbunnyru/funny-cpp","owner":"mathbunnyru","description":"Funny C++ code","archived":false,"fork":false,"pushed_at":"2022-07-06T06:03:42.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-09T05:24:31.462Z","etag":null,"topics":["cpp"],"latest_commit_sha":null,"homepage":null,"language":null,"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/mathbunnyru.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}},"created_at":"2018-07-23T20:50:05.000Z","updated_at":"2020-06-29T00:19:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"4020f85d-def6-468d-bd59-a3cbbaec4f6c","html_url":"https://github.com/mathbunnyru/funny-cpp","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/mathbunnyru%2Ffunny-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathbunnyru%2Ffunny-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathbunnyru%2Ffunny-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathbunnyru%2Ffunny-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathbunnyru","download_url":"https://codeload.github.com/mathbunnyru/funny-cpp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247041977,"owners_count":20874052,"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":["cpp"],"created_at":"2024-10-29T10:15:09.502Z","updated_at":"2025-04-03T16:42:31.796Z","avatar_url":"https://github.com/mathbunnyru.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# funny-cpp\n\nWIP for a blog.\n\nSome facts of the C++ world, sometimes useful, sometimes not (mostly, impractical).\n\nBut, that doesn't make these fact less funny, right?\n\n## Contents\n\n### 00. Simple array definition\n\nThis is perfectly valid C++ code:\n\n  ```c++\n  static constexpr int widths[] = { [0 ... 9] = 1, [10 ... 99] = 2, [100] = 3 };\n  ```\n\n### 01. Move me\n\n### 02. Really constexpr\n\n### 03. Prime\n\n### 04. Give me some privacy, please\n\n### 05. To add constexpr or not to add\n\n### 06. Ordered tuple\n\n### 07. Crazy int8_t\n\n### 08. Hidden method\n\n### 09. Dangling reference\n\n### 10. Non-template STL\n\n## Assumptions\n\n1. I hope, all the code is compilable (more or less).\n\n2. Code should almost always work in C++17.\n\n3. If you don't love C++, you won't like these pieces of code.\n\n4. No promises here.\n\n5. Help is much appreciated.\n\n6. I'm not a native speaker.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathbunnyru%2Ffunny-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathbunnyru%2Ffunny-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathbunnyru%2Ffunny-cpp/lists"}