From 6ca1c8ee64bf7268d194eb15e72d3024a335039d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Sep 2009 08:20:12 +0200 Subject: Add root exception class Derive all other exceptions from it. --- cutl/compiler/type-info.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cutl/compiler/type-info.hxx') 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 #include // std::type_info +#include #include #include @@ -76,7 +77,7 @@ namespace cutl // // - class no_type_info {}; + class no_type_info: exception {}; type_info const& lookup (type_id const&); -- cgit v1.1