diff options
Diffstat (limited to 'odb/std-list-traits.hxx')
-rw-r--r-- | odb/std-list-traits.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/std-list-traits.hxx b/odb/std-list-traits.hxx index 2f6ec96..6b57178 100644 --- a/odb/std-list-traits.hxx +++ b/odb/std-list-traits.hxx @@ -14,15 +14,16 @@ namespace odb { - template <typename V> - class access::container_traits<std::list<V> > + template <typename V, typename A> + class access::container_traits<std::list<V, A> > { public: static container_kind const kind = ck_ordered; + typedef std::list<V, A> container_type; + typedef V value_type; - typedef typename std::list<V>::size_type index_type; - typedef std::list<V> container_type; + typedef typename container_type::size_type index_type; typedef ordered_functions<index_type, value_type> functions; |