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/container/any.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cutl/container/any.hxx') diff --git a/cutl/container/any.hxx b/cutl/container/any.hxx index 0c89a38..4fd05b5 100644 --- a/cutl/container/any.hxx +++ b/cutl/container/any.hxx @@ -9,6 +9,8 @@ #include // std::auto_ptr #include // std::type_info +#include + namespace cutl { namespace container @@ -16,7 +18,7 @@ namespace cutl class any { public: - struct typing {}; + struct typing: exception {}; public: template -- cgit v1.1