{"id":16088434,"url":"https://github.com/konard/cppcligenericsexample","last_synced_at":"2025-04-05T16:11:14.557Z","repository":{"id":145146320,"uuid":"188470085","full_name":"Konard/CppCLIGenericsExample","owner":"Konard","description":"Generating multiple implementations of a generic interface using C++/CLI template and .NET Framework 4.7.2","archived":false,"fork":false,"pushed_at":"2019-05-24T19:44:16.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T12:44:58.190Z","etag":null,"topics":["cpp-cli","generics","net-framework-472","template"],"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/Konard.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":"2019-05-24T18:31:39.000Z","updated_at":"2022-07-23T11:00:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d8cff8e-953b-4c19-8955-98d8c15cf56e","html_url":"https://github.com/Konard/CppCLIGenericsExample","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/Konard%2FCppCLIGenericsExample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Konard%2FCppCLIGenericsExample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Konard%2FCppCLIGenericsExample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Konard%2FCppCLIGenericsExample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Konard","download_url":"https://codeload.github.com/Konard/CppCLIGenericsExample/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361696,"owners_count":20926643,"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-cli","generics","net-framework-472","template"],"created_at":"2024-10-09T13:36:26.365Z","updated_at":"2025-04-05T16:11:14.550Z","avatar_url":"https://github.com/Konard.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CppCLIGenericsExample\nThis example shows how to generate multiple generic interface implementations using C++/CLI template. There is the `IGeneric\u003cT\u003e` interface. C++/CLI template is used to generate specific implementations of this interface for `UInt64`, `UInt32`, `UInt16` and `Byte` types. All implementations share single base template `ClassTemplate` logic.\n\nThe problem with current approach is that it works only for Windows while support for C++/CLI is not crossplatform.\n\nIt is possible to achieve the same result using [C#, T4 text template and .NET Core 2.2](https://github.com/Konard/T4GenericsExample).\n\n## Prerequisites\n* [Visual Studio 2019 Community Edition](https://visualstudio.microsoft.com/vs/) (at least)\n* [Microsoft .NET Framework 4.7.2](https://dotnet.microsoft.com/download/dotnet-framework/net472)\n\n## Run\n* Clone repository\n* Open solution (`.sln` file) in Visual Studio\n* Press `F5` to build and start program\n\n## Development process videos\nhttps://youtu.be/MSjBlWnINQQ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonard%2Fcppcligenericsexample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonard%2Fcppcligenericsexample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonard%2Fcppcligenericsexample/lists"}