diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-23 11:59:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-09-23 11:59:05 +0200 |
commit | 0a1552132435813f25c32c59bca2366e28a320da (patch) | |
tree | fe9f62c4ab19c46b0f7726c0a2d899ba173827fa /odb/exceptions.hxx | |
parent | 2b6eabb7411469faead3949f2fe9cfd950643123 (diff) |
Add swap(), empty(), and size() to result class template
Diffstat (limited to 'odb/exceptions.hxx')
-rw-r--r-- | odb/exceptions.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
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 { }; |