aboutsummaryrefslogtreecommitdiff
path: root/odb/exceptions.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-09-23 11:59:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-09-23 11:59:05 +0200
commit0a1552132435813f25c32c59bca2366e28a320da (patch)
treefe9f62c4ab19c46b0f7726c0a2d899ba173827fa /odb/exceptions.hxx
parent2b6eabb7411469faead3949f2fe9cfd950643123 (diff)
Add swap(), empty(), and size() to result class template
Diffstat (limited to 'odb/exceptions.hxx')
-rw-r--r--odb/exceptions.hxx6
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
{
};