diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-05-05 23:47:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-05-05 23:47:19 +0200 |
commit | e0b98661d4e298551a25c9e97f5378ff90f56d59 (patch) | |
tree | ddfd340c0c2b048d50d4a2cf021db61f85729c57 | |
parent | 90d755e54cc5c5303a426f7dab72c410228458e5 (diff) |
Add bug: Container of containers via value type not detected
-rw-r--r-- | bug/list | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -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;}; |