summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bug/list23
1 files changed, 23 insertions, 0 deletions
diff --git a/bug/list b/bug/list
index 1aa4e89..1294dd1 100644
--- a/bug/list
+++ b/bug/list
@@ -1,3 +1,26 @@
+- Container of containers via value type not detected
+
+ #include <map>
+ #include <vector>
+
+ #pragma db value
+ struct ValueObject
+ {
+ //#pragma db type("BLOB")
+ std::vector<int> vec_;
+ };
+
+ #pragma db object
+ struct Other
+ {
+ #pragma db id
+ int id;
+
+ //std::vector<std::vector<int> > v;
+ std::vector<ValueObject> v;
+ std::map<int,ValueObject> m;
+ };
+
! Type mapping broken for containers
struct int_vector {std::vector<int> v;};