summaryrefslogtreecommitdiff
path: root/odb/traversal/union-template.cxx
blob: 9d72fcd94331a8d5dc2a55691b1d27c562e62a19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 ());
  }
}