diff options
Diffstat (limited to 'odb/odb/traversal/union-template.cxx')
-rw-r--r-- | odb/odb/traversal/union-template.cxx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/odb/odb/traversal/union-template.cxx b/odb/odb/traversal/union-template.cxx new file mode 100644 index 0000000..9d72fcd --- /dev/null +++ b/odb/odb/traversal/union-template.cxx @@ -0,0 +1,26 @@ +// file : odb/traversal/union-template.cxx +// license : GNU GPL v3; see accompanying LICENSE file + +#include <odb/traversal/union-template.hxx> + +namespace traversal +{ + void union_instantiation:: + traverse (type& u) + { + instantiates (u); + names (u); + } + + void union_instantiation:: + instantiates (type& u) + { + instantiates (u, *this); + } + + void union_instantiation:: + instantiates (type& u, edge_dispatcher& d) + { + d.dispatch (u.instantiates ()); + } +} |