https://github.com/waqqas/staticvisitor
Sample project to demonstrate Visitor pattern with static polymorphism.
https://github.com/waqqas/staticvisitor
cpp cpp11 design-patterns polymorphism static-polymorphism visitor-pattern
Last synced: 6 months ago
JSON representation
Sample project to demonstrate Visitor pattern with static polymorphism.
- Host: GitHub
- URL: https://github.com/waqqas/staticvisitor
- Owner: waqqas
- Created: 2019-07-19T15:21:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-09T08:13:14.000Z (almost 6 years ago)
- Last Synced: 2025-01-19T16:30:41.412Z (about 1 year ago)
- Topics: cpp, cpp11, design-patterns, polymorphism, static-polymorphism, visitor-pattern
- Language: C++
- Homepage:
- Size: 28.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Introduction
---
Building
---
- mkdir build
- cd build
- cmake ..
- make
Sample Output
---
```
info: buyer, type1
info: seller, type1
s1: count 5
info: buyer, type2
info: seller, type2
s2: count -5
```
References
---
-
-