diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-20 15:46:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2014-11-20 15:46:21 +0200 |
commit | 6b51de56026cf73f0f0ed8071e5e4918bc1999f9 (patch) | |
tree | f2ea080ebebbe14714710378e5347a995f13272d /odb/database.hxx | |
parent | 558de908345af7680444cab46ffb6080b1000a06 (diff) |
Add test
Diffstat (limited to 'odb/database.hxx')
-rw-r--r-- | odb/database.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/odb/database.hxx b/odb/database.hxx index 0304d3c..3163c46 100644 --- a/odb/database.hxx +++ b/odb/database.hxx @@ -56,6 +56,10 @@ namespace odb template <typename T> typename object_traits<T>::id_type + persist (const T& object); + + template <typename T> + typename object_traits<T>::id_type persist (T* obj_ptr); template <typename T, template <typename> class P> |