summaryrefslogtreecommitdiff
path: root/libcutl/cutl/compiler/type-id.txx
diff options
context:
space:
mode:
Diffstat (limited to 'libcutl/cutl/compiler/type-id.txx')
-rw-r--r--libcutl/cutl/compiler/type-id.txx17
1 files changed, 17 insertions, 0 deletions
diff --git a/libcutl/cutl/compiler/type-id.txx b/libcutl/cutl/compiler/type-id.txx
new file mode 100644
index 0000000..bc7a2e3
--- /dev/null
+++ b/libcutl/cutl/compiler/type-id.txx
@@ -0,0 +1,17 @@
+// file : cutl/compiler/type-id.txx
+// copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC
+// license : MIT; see accompanying LICENSE file
+
+namespace cutl
+{
+ namespace compiler
+ {
+ template <typename X>
+ inline
+ type_id::
+ type_id (X const volatile& x)
+ : ti_ (&typeid (x))
+ {
+ }
+ }
+}