From 0a1552132435813f25c32c59bca2366e28a320da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 23 Sep 2010 11:59:05 +0200 Subject: Add swap(), empty(), and size() to result class template --- odb/exceptions.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odb/exceptions.hxx') diff --git a/odb/exceptions.hxx b/odb/exceptions.hxx index 8c9e826..8c0fe27 100644 --- a/odb/exceptions.hxx +++ b/odb/exceptions.hxx @@ -50,6 +50,12 @@ namespace odb what () const throw (); }; + struct LIBODB_EXPORT result_not_cached: odb::exception + { + virtual const char* + what () const throw (); + }; + struct LIBODB_EXPORT database_exception: odb::exception { }; -- cgit v1.1