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/container/any.hxx | |
parent | f0fb6aeab118255266370121db79ab2a2fed88ad (diff) |
Add root exception class
Derive all other exceptions from it.
Diffstat (limited to 'cutl/container/any.hxx')
-rw-r--r-- | cutl/container/any.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <memory> // std::auto_ptr #include <typeinfo> // std::type_info +#include <cutl/exception.hxx> + namespace cutl { namespace container @@ -16,7 +18,7 @@ namespace cutl class any { public: - struct typing {}; + struct typing: exception {}; public: template <typename X> |