diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-04-23 16:48:00 +0200 |
commit | 1896d36996ab48ed7271e855d7e32b4e61f64896 (patch) | |
tree | 6d085eb0349d23bc26fe101b2451235939f17d40 /odb/traits.hxx | |
parent | c2be6303f97e470960ee77805128c46d3ea5c102 (diff) |
Polymorphic inheritance support
Diffstat (limited to 'odb/traits.hxx')
-rw-r--r-- | odb/traits.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/odb/traits.hxx b/odb/traits.hxx index 4c71f94..0743dba 100644 --- a/odb/traits.hxx +++ b/odb/traits.hxx @@ -138,6 +138,8 @@ namespace odb typedef typename access::object_traits<T>::object_type object_type; typedef typename pointer_traits::const_pointer_type const_pointer_type; typedef const_pointer_type pointer_type; + + static const bool polymorphic = access::object_traits<T>::polymorphic; }; // Specializations for pointer types to allow the C++ compiler to |