From 6f70eeec9401f385c8122445eedb53602a002830 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 25 Mar 2011 16:50:19 +0200 Subject: Add support for forward-declaring shared_base-based types The forward declaration must specialize the counter_type template to explicitly specify shared_base as the counter type. --- odb/forward.hxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'odb/forward.hxx') diff --git a/odb/forward.hxx b/odb/forward.hxx index ec502d2..c387fb4 100644 --- a/odb/forward.hxx +++ b/odb/forward.hxx @@ -8,6 +8,8 @@ #include +#include + namespace odb { class database; @@ -45,12 +47,6 @@ namespace odb template struct object_traits; - - namespace details - { - template - class shared_ptr; - } } #include -- cgit v1.1