[odb-users] Containers of containers

Boris Kolpackov boris at codesynthesis.com
Wed Oct 9 08:24:23 EDT 2024


MM <finjulhich at gmail.com> writes:

> Trying to compile and understand the experimental facility of vectors of
> vectors, I can't odb compile  the example here [...]

We have added a complete example that shows how to do this:

https://git.codesynthesis.com/cgit/odb/odb/tree/odb-examples/container-nested

Note that you will need to grab the updated odb/nested-container.hxx
header (until the next release of ODB) since we tweaked it a bit to
streamline the mapping:

https://git.codesynthesis.com/cgit/odb/odb/tree/libodb/odb/nested-container.hxx



More information about the odb-users mailing list