summaryrefslogtreecommitdiff
path: root/odb/odb/semantics/elements.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/odb/semantics/elements.ixx')
-rw-r--r--odb/odb/semantics/elements.ixx13
1 files changed, 13 insertions, 0 deletions
diff --git a/odb/odb/semantics/elements.ixx b/odb/odb/semantics/elements.ixx
new file mode 100644
index 0000000..32f9ced
--- /dev/null
+++ b/odb/odb/semantics/elements.ixx
@@ -0,0 +1,13 @@
+// file : odb/semantics/elements.ixx
+// license : GNU GPL v3; see accompanying LICENSE file
+
+namespace semantics
+{
+ // typedefs
+ //
+ inline typedefs::type_type& typedefs::
+ type () const
+ {
+ return dynamic_cast<type_type&> (named ());
+ }
+}