{"id":18482955,"url":"https://github.com/denismurphy/modern-template-techniques","last_synced_at":"2025-04-08T18:32:06.175Z","repository":{"id":190055938,"uuid":"587689377","full_name":"denismurphy/modern-template-techniques","owner":"denismurphy","description":"Modern Template Techniques","archived":true,"fork":false,"pushed_at":"2024-08-18T17:03:15.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T20:06:16.691Z","etag":null,"topics":["abstract-class","auto","class","constexpr","cpp-templates","educational","lambda","smart-pointers","struct","template-argument-deduction","virtual-function"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"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/denismurphy.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":"2023-01-11T10:53:42.000Z","updated_at":"2024-12-10T10:40:21.000Z","dependencies_parsed_at":"2023-08-23T03:31:06.406Z","dependency_job_id":"f58af2f5-c6fd-4602-82f1-47c567846705","html_url":"https://github.com/denismurphy/modern-template-techniques","commit_stats":null,"previous_names":["denismurphy/cpp-modern-template-techniques","denismurphy/modern-template-techniques"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fmodern-template-techniques","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fmodern-template-techniques/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fmodern-template-techniques/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denismurphy%2Fmodern-template-techniques/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denismurphy","download_url":"https://codeload.github.com/denismurphy/modern-template-techniques/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247623009,"owners_count":20968574,"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":["abstract-class","auto","class","constexpr","cpp-templates","educational","lambda","smart-pointers","struct","template-argument-deduction","virtual-function"],"created_at":"2024-11-06T12:32:29.398Z","updated_at":"2025-04-08T18:32:01.163Z","avatar_url":"https://github.com/denismurphy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 Modern Template Techniques\n\nThis repository explores advanced template techniques in C++, including class template argument deduction, smart pointers, structs, classes, abstract classes, virtual functions, `auto`, `lambda`, and `constexpr`.\n\n🎯 The goal: Personal learning about modern template techniques.\n\n## 📚 Contents\n\nThis repo contains various examples illustrating different advanced template techniques and their use cases. Each example is well-commented and easy to understand.\n\n### 🧩 Class Template Argument Deduction\n\nDemonstrates the class template argument deduction feature to deduce template arguments from constructor parameters.\n\n### 🔗 Smart Pointers\n\nExplores using smart pointers to manage the lifetime of objects in class templates and structs.\n\n### 🏗️ Structs and Classes\n\nShows how structs and classes can be used together in template programming.\n\n### 🎭 Abstract Classes and Virtual Functions\n\nIllustrates the combination of abstract classes and virtual functions in template programming.\n\n### ⚡ Auto and Lambda\n\nDemonstrates how `auto` and lambda can be used with templates to create more concise and expressive code.\n\n### ⏱️ Constexpr\n\nExplores using `constexpr` to make template code more efficient at runtime and during compile-time.\n\n## 📄 License\n\nThis repository is licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismurphy%2Fmodern-template-techniques","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenismurphy%2Fmodern-template-techniques","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenismurphy%2Fmodern-template-techniques/lists"}