1 // file : cutl/compiler/type-id.txx 2 // copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC 3 // license : MIT; see accompanying LICENSE file 4 5 namespace cutl 6 { 7 namespace compiler 8 { 9 template <typename X> 10 inline 11 type_id:: type_id(X const volatile & x)12 type_id (X const volatile& x) 13 : ti_ (&typeid (x)) 14 { 15 } 16 } 17 } 18