diff options
-rw-r--r-- | odb/forward.hxx | 6 | ||||
-rw-r--r-- | odb/traits.hxx | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/odb/forward.hxx b/odb/forward.hxx index 38b1415..e2bef03 100644 --- a/odb/forward.hxx +++ b/odb/forward.hxx @@ -17,9 +17,6 @@ namespace odb { public: template <typename T> - class value_traits; - - template <typename T> class object_traits; template <typename T> @@ -30,6 +27,9 @@ namespace odb template <typename P> class pointer_factory; + + template <typename T> + class composite_value_traits; }; } diff --git a/odb/traits.hxx b/odb/traits.hxx index c242e50..318d88b 100644 --- a/odb/traits.hxx +++ b/odb/traits.hxx @@ -83,6 +83,11 @@ namespace odb odb::pointer_traits<typename access::object_traits<T>::pointer_type> pointer_traits; }; + + template <typename T> + struct composite_value_traits: access::composite_value_traits<T> + { + }; } #include <odb/post.hxx> |