diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-19 08:20:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2009-09-19 08:20:12 +0200 |
commit | 6ca1c8ee64bf7268d194eb15e72d3024a335039d (patch) | |
tree | 8876f51d9392f35c27eca83126fb9732e01bd916 /cutl/compiler/type-info.hxx | |
parent | f0fb6aeab118255266370121db79ab2a2fed88ad (diff) |
Add root exception class
Derive all other exceptions from it.
Diffstat (limited to 'cutl/compiler/type-info.hxx')
-rw-r--r-- | cutl/compiler/type-info.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cutl/compiler/type-info.hxx b/cutl/compiler/type-info.hxx index f970067..9fa5593 100644 --- a/cutl/compiler/type-info.hxx +++ b/cutl/compiler/type-info.hxx @@ -10,6 +10,7 @@ #include <vector> #include <typeinfo> // std::type_info +#include <cutl/exception.hxx> #include <cutl/static-ptr.hxx> #include <cutl/compiler/type-id.hxx> @@ -76,7 +77,7 @@ namespace cutl // // - class no_type_info {}; + class no_type_info: exception {}; type_info const& lookup (type_id const&); |