aboutsummaryrefslogtreecommitdiff
path: root/odb/std-vector-traits.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/std-vector-traits.hxx')
-rw-r--r--odb/std-vector-traits.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/std-vector-traits.hxx b/odb/std-vector-traits.hxx
index 6c439c8..fd82236 100644
--- a/odb/std-vector-traits.hxx
+++ b/odb/std-vector-traits.hxx
@@ -14,15 +14,16 @@
namespace odb
{
- template <typename V>
- class access::container_traits<std::vector<V> >
+ template <typename V, typename A>
+ class access::container_traits<std::vector<V, A> >
{
public:
static container_kind const kind = ck_ordered;
+ typedef std::vector<V, A> container_type;
+
typedef V value_type;
- typedef typename std::vector<V>::size_type index_type;
- typedef std::vector<V> container_type;
+ typedef typename container_type::size_type index_type;
typedef ordered_functions<index_type, value_type> functions;