{"id":15598051,"url":"https://github.com/ibob/cpp-dynamic-polymorphism","last_synced_at":"2026-01-21T02:32:13.853Z","repository":{"id":145863349,"uuid":"150826968","full_name":"iboB/cpp-dynamic-polymorphism","owner":"iboB","description":"List of resources about modern dynamic polymorphism in C++.","archived":false,"fork":false,"pushed_at":"2018-09-29T05:11:13.000Z","size":0,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T18:54:26.814Z","etag":null,"topics":[],"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/iboB.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-09-29T05:10:21.000Z","updated_at":"2023-11-20T02:02:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a590973-f0ec-433a-bd3d-7bca413fbe5d","html_url":"https://github.com/iboB/cpp-dynamic-polymorphism","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iboB/cpp-dynamic-polymorphism","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fcpp-dynamic-polymorphism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fcpp-dynamic-polymorphism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fcpp-dynamic-polymorphism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fcpp-dynamic-polymorphism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iboB","download_url":"https://codeload.github.com/iboB/cpp-dynamic-polymorphism/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iboB%2Fcpp-dynamic-polymorphism/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28623264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"online","status_checked_at":"2026-01-21T02:00:08.227Z","response_time":86,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-03T01:26:53.422Z","updated_at":"2026-01-21T02:32:13.830Z","avatar_url":"https://github.com/iboB.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Dynamic Polymorphism\n\nList of resources about modern dynamic polymorphism in C++. \n\n## Libraries\n\nSome libraries may end-up in two lists if they support multiple features\n\n### Polymorphic type-erasure wrappers\n\nAllow you to create a polymorphic interface which can be used without inheritance.\n\n* Dyno: https://github.com/ldionne/dyno\n* Eraserface: https://github.com/badair/eraserface\n* Folly.Poly: https://github.com/facebook/folly/blob/master/folly/docs/Poly.md (This is a link to the documentation. The library itself is part of Folly)\n* liberasure: https://github.com/atomgalaxy/liberasure\n\n### Open methods\n\nAllow you to create external polymorphic methods for existing classes.\n\n* yomm2: https://github.com/jll63/yomm2\n\n### Multiple dispatch\n\nAllow you to define functions which are dispatched based on multiple arguments as opposed to one in the clasical virtual function case.\n\n* Folly.Poly: https://github.com/facebook/folly/blob/master/folly/docs/Poly.md (This is a link to the documentation. The library itself is part of Folly)\n* yomm2: https://github.com/jll63/yomm2\n\n### Composition, components, and mixins\n\nAllow you to create polymorphic objects from building blocks through composition over inheritance.\n\n* DynaMix: https://github.com/iboB/dynamix\n\n### Signals/slots and multicasts\n\nAllow you to invoke multiple functions with a single call.\n\n* ???\n\n## Other resources\n\n### Articles and papers\n\n* Dynamic Generic Programming with Virtual Concepts\nhttps://github.com/andyprowl/virtual-concepts\n* The Interface to Component Pattern and DynaMix\n https://accu.org/index.php/journals/2487 ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibob%2Fcpp-dynamic-polymorphism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibob%2Fcpp-dynamic-polymorphism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibob%2Fcpp-dynamic-polymorphism/lists"}