aboutsummaryrefslogtreecommitdiff
path: root/common/container/basics/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-06 09:14:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-06 09:14:47 +0200
commitd7318daf46ac3539f6f7651f99cc75921ffa4a37 (patch)
treede37f2078942db8be823cde0f2148c296815b717 /common/container/basics/test.hxx
parenta44bbf24decdaee9bd8c716dc6843b4b4c6c7ec5 (diff)
Add support for persisting std::deque
Diffstat (limited to 'common/container/basics/test.hxx')
-rw-r--r--common/container/basics/test.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/container/basics/test.hxx b/common/container/basics/test.hxx
index 517da0a..ca167ab 100644
--- a/common/container/basics/test.hxx
+++ b/common/container/basics/test.hxx
@@ -11,6 +11,7 @@
#include <set>
#include <list>
#include <vector>
+#include <deque>
#include <string>
#ifdef HAVE_CXX11
@@ -52,6 +53,7 @@ operator< (const comp& x, const comp& y)
}
typedef std::list<std::string> str_list;
+typedef std::deque<int> num_deque;
typedef std::vector<int> num_vector;
typedef std::vector<std::string> str_vector;
@@ -144,6 +146,10 @@ struct object
#pragma db transient
str_list& sl;
+ // deque
+ //
+ num_deque nd;
+
// set
//
num_set ns;
@@ -234,6 +240,8 @@ operator== (const object& x, const object& y)
x.sl == y.sl &&
+ x.nd == y.nd &&
+
x.ns == y.ns &&
x.ss == y.ss &&
x.cs == y.cs &&