https://github.com/qqwy/cpp-traits-with-variants
Example of how to implement Traits in C++ that also work when constructing a collection of trait-implementing objects.
https://github.com/qqwy/cpp-traits-with-variants
cplusplus cplusplus-17 template-metaprogramming traits visitor-pattern
Last synced: 8 months ago
JSON representation
Example of how to implement Traits in C++ that also work when constructing a collection of trait-implementing objects.
- Host: GitHub
- URL: https://github.com/qqwy/cpp-traits-with-variants
- Owner: Qqwy
- Created: 2019-02-20T14:13:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T14:22:13.000Z (over 6 years ago)
- Last Synced: 2025-01-03T13:46:36.055Z (9 months ago)
- Topics: cplusplus, cplusplus-17, template-metaprogramming, traits, visitor-pattern
- Language: C++
- Size: 359 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp-traits-with-variants
Example of how to implement Traits in C++ that also work when constructing a collection of trait-implementing objects.