aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-22 12:00:05 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-22 12:00:05 +0200
commitb7bd0edb37e2941fbeeb26bd57c75eca82b765fb (patch)
tree7555d60af1f47365f6f368fc4c33b9475e7daae2
parent416624745e76aae09998b99fc3adf7b0579e7d04 (diff)
Forward-declare details::shared_ptr
-rw-r--r--odb/forward.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/odb/forward.hxx b/odb/forward.hxx
index dbd3628..30d9193 100644
--- a/odb/forward.hxx
+++ b/odb/forward.hxx
@@ -13,6 +13,9 @@ namespace odb
class database;
class transaction;
+ // Implementation details.
+ //
+
class access
{
public:
@@ -31,6 +34,12 @@ namespace odb
template <typename C>
class container_traits;
};
+
+ namespace details
+ {
+ template <typename X>
+ class shared_ptr;
+ }
}
#include <odb/post.hxx>