From e0b98661d4e298551a25c9e97f5378ff90f56d59 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 5 May 2016 23:47:19 +0200 Subject: Add bug: Container of containers via value type not detected --- bug/list | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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 + #include + + #pragma db value + struct ValueObject + { + //#pragma db type("BLOB") + std::vector vec_; + }; + + #pragma db object + struct Other + { + #pragma db id + int id; + + //std::vector > v; + std::vector v; + std::map m; + }; + ! Type mapping broken for containers struct int_vector {std::vector v;}; -- cgit v1.1