[odb-users] boost profile and boost::container::stable_vector
Boris Kolpackov
boris at codesynthesis.com
Fri Jan 24 00:58:42 EST 2025
MM <finjulhich at gmail.com> writes:
> How would I go about providing support for this type of vector?
>
> 1. directly inside odb code base as a topup on top what I built with build2?
> 2. in my code base?
You can do it either way: you can implement it as part of libodb-boost
(in which case you are welcome to submit a patch/PR) or you can do it
as part of your application. The latter is described here:
https://www.codesynthesis.com/~boris/blog/2012/10/16/custom-cxx-to-database-type-mapping-in-odb/
The article talks about value types and specializing value_traits but its
similar for containers where you specialize container_traits instead.
More information about the odb-users
mailing list