aboutsummaryrefslogtreecommitdiff
path: root/odb/traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/traits.hxx')
-rw-r--r--odb/traits.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/odb/traits.hxx b/odb/traits.hxx
index 9445c7a..4c71f94 100644
--- a/odb/traits.hxx
+++ b/odb/traits.hxx
@@ -163,12 +163,24 @@ namespace odb
struct id_type {};
};
+ template <typename T, typename A1, template <typename, typename> class P>
+ struct object_traits< P<T, A1> >
+ {
+ struct id_type {};
+ };
+
template <typename T, template <typename> class P>
struct object_traits< const P<T> >
{
struct id_type {};
};
+ template <typename T, typename A1, template <typename, typename> class P>
+ struct object_traits< const P<T, A1> >
+ {
+ struct id_type {};
+ };
+
//
// view_traits
//