diff options
Diffstat (limited to 'odb/odb/traversal/union-template.hxx')
-rw-r--r-- | odb/odb/traversal/union-template.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/odb/odb/traversal/union-template.hxx b/odb/odb/traversal/union-template.hxx new file mode 100644 index 0000000..10d1d49 --- /dev/null +++ b/odb/odb/traversal/union-template.hxx @@ -0,0 +1,29 @@ +// file : odb/traversal/union-template.hxx +// license : GNU GPL v3; see accompanying LICENSE file + +#ifndef ODB_TRAVERSAL_UNION_TEMPLATE_HXX +#define ODB_TRAVERSAL_UNION_TEMPLATE_HXX + +#include <odb/semantics/union-template.hxx> + +#include <odb/traversal/elements.hxx> +#include <odb/traversal/union.hxx> + +namespace traversal +{ + struct union_template: scope_template<semantics::union_template> {}; + + struct union_instantiation: scope_template<semantics::union_instantiation> + { + virtual void + traverse (type&); + + virtual void + instantiates (type&); + + virtual void + instantiates (type&, edge_dispatcher&); + }; +} + +#endif // ODB_TRAVERSAL_UNION_TEMPLATE_HXX |