aboutsummaryrefslogtreecommitdiff
path: root/cutl/compiler/type-id.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'cutl/compiler/type-id.ixx')
-rw-r--r--cutl/compiler/type-id.ixx44
1 files changed, 0 insertions, 44 deletions
diff --git a/cutl/compiler/type-id.ixx b/cutl/compiler/type-id.ixx
deleted file mode 100644
index 5844299..0000000
--- a/cutl/compiler/type-id.ixx
+++ /dev/null
@@ -1,44 +0,0 @@
-// file : cutl/compiler/type-id.ixx
-// copyright : Copyright (c) 2009-2019 Code Synthesis Tools CC
-// license : MIT; see accompanying LICENSE file
-
-namespace cutl
-{
- namespace compiler
- {
- inline
- type_id::
- type_id (std::type_info const& ti)
- : ti_ (&ti)
- {
- }
-
- inline
- char const* type_id::
- name () const
- {
- return ti_->name ();
- }
-
- inline
- bool
- operator== (type_id const& x, type_id const& y)
- {
- return *x.ti_ == *y.ti_;
- }
-
- inline
- bool
- operator!= (type_id const& x, type_id const& y)
- {
- return *x.ti_ != *y.ti_;
- }
-
- inline
- bool
- operator< (type_id const& x, type_id const& y)
- {
- return x.ti_->before (*y.ti_);
- }
- }
-}