[odb-users] custom containers or not: boost::multi_array

Boris Kolpackov boris at codesynthesis.com
Tue Jul 17 07:26:30 EDT 2018

MM <finjulhich at gmail.com> writes:

> To add here, the key_type is   std::array<std::size_t, NumDims>  for
> boost::multi_array.

Using another container as a key won't work. Just try to think how this
can possibly work: ODB needs to map a key to one or more columns in the
table. It knows how to do that for simple and composite values.

More information about the odb-users mailing list