diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-17 17:57:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-11-17 17:57:52 +0200 |
commit | 88b5d11da136b8e827536b85e070e7e914e39506 (patch) | |
tree | 733dc1a3b2cd16ebc8ff1013b9da322f510a9f5f /odb/std-set-traits.hxx | |
parent | a157760b26ccbd16250e263ee16d12a483124227 (diff) |
Use complete list of template parameters for container specializations
Diffstat (limited to 'odb/std-set-traits.hxx')
-rw-r--r-- | odb/std-set-traits.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/odb/std-set-traits.hxx b/odb/std-set-traits.hxx index 0c8071a..87213f7 100644 --- a/odb/std-set-traits.hxx +++ b/odb/std-set-traits.hxx @@ -14,14 +14,14 @@ namespace odb { - template <typename V> - class access::container_traits<std::set<V> > + template <typename V, typename C, typename A> + class access::container_traits<std::set<V, C, A> > { public: static container_kind const kind = ck_set; + typedef std::set<V, C, A> container_type; typedef V value_type; - typedef std::set<V> container_type; typedef set_functions<value_type> functions; @@ -68,14 +68,14 @@ namespace odb // changes that. The current implementation in the generated code does // not guarantee this either. // - template <typename V> - class access::container_traits<std::multiset<V> > + template <typename V, typename C, typename A> + class access::container_traits<std::multiset<V, C, A> > { public: static container_kind const kind = ck_multiset; + typedef std::multiset<V, C, A> container_type; typedef V value_type; - typedef std::multiset<V> container_type; typedef set_functions<value_type> functions; |