From cb9ea47e7825b5073d4d645afb94f6326cb7cf4d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Sep 2009 12:52:53 +0200 Subject: Start the libcutl repository --- cutl/compiler/type-id.txx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 cutl/compiler/type-id.txx (limited to 'cutl/compiler/type-id.txx') diff --git a/cutl/compiler/type-id.txx b/cutl/compiler/type-id.txx new file mode 100644 index 0000000..9fee905 --- /dev/null +++ b/cutl/compiler/type-id.txx @@ -0,0 +1,18 @@ +// file : cutl/compiler/type-id.txx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009 Code Synthesis Tools CC +// license : MIT; see accompanying LICENSE file + +namespace cutl +{ + namespace compiler + { + template + inline + type_id:: + type_id (X const volatile& x) + : ti_ (&typeid (x)) + { + } + } +} -- cgit v1.1