summaryrefslogtreecommitdiff
path: root/odb/odb/traversal/union-template.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-01-22 15:58:08 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-01-24 17:02:47 +0300
commit823026b58211a4166de06ac243d978dcb9930271 (patch)
tree97b43039cb769f8bee410e8536f9f945f2825153 /odb/odb/traversal/union-template.hxx
parentb56b9c6796d8853758f0f5967488260d61b788e2 (diff)
Turn odb repository into muti-package repository
Also remove the autoconf/make-based build system.
Diffstat (limited to 'odb/odb/traversal/union-template.hxx')
-rw-r--r--odb/odb/traversal/union-template.hxx29
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