Crate despatma[−][src]
Despatma is a collection of des
ign pat
tern ma
cros (despatma
).
It aims to provide the most common implementations for design patterns at run-time.
This project is still a work in progress. The end goal is to be as Loki is for C++ and more if possible. The following patterns are currently implemented:
- abstract_factory - with the help of interpolate_traits macro
- visitor
Macros
visitor | Creates an abstract visitor for a list of elements. |
Attribute Macros
abstract_factory | Turns a |
interpolate_traits | Expands a list of despatma_lib::TraitSpecifier elements over a template.
The |