diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-09 11:25:37 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-01-16 07:42:54 +0200 |
commit | 821e1bdf35c6fc208c421fa630ad3f77e841b60e (patch) | |
tree | 65f3f283c015a446f505d598b0bea487e1f02e72 /odb/session.hxx | |
parent | b14d811c7ea34c6ec423c0a7b90f4c271213b4af (diff) |
Add support for using custom session implementations
New option, --session-type.
Diffstat (limited to 'odb/session.hxx')
-rw-r--r-- | odb/session.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/session.hxx b/odb/session.hxx index 4db10b3..472ea79 100644 --- a/odb/session.hxx +++ b/odb/session.hxx @@ -65,7 +65,7 @@ namespace odb session (const session&); session& operator= (const session&); - protected: + public: struct LIBODB_EXPORT object_map_base: details::shared_base { virtual @@ -84,8 +84,7 @@ namespace odb public: // Position in the cache of an inserted element. The requirements // for this class template are: default and copy-constructible as - // well as copy-assignable. In particular, a standard iterator can - // be used as a position. + // well as copy-assignable. // template <typename T> struct position @@ -118,6 +117,7 @@ namespace odb void erase (const position<T>&); + // Low-level object cache access (iteration, etc). // public: |