[odb-users] Object Loading Views with Containers / Alternatives?

Raphael Palefsky-Smith me at raphieps.com
Wed Apr 24 11:22:06 EDT 2024


The Friday brain! A phenomenon I know all too well. Awesome to hear the
shared_ptr approach is correct and I'll carry onward. Thanks again for the
great explanation!

On Mon, Apr 22, 2024 at 10:34 AM Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Raphael Palefsky-Smith <me at raphieps.com> writes:
>
> > The part I'm a little confused by is the by-value loading, even after
> > reading the docs.
>
> Yes, I don't know what made me think we need the by-value loading. It
> would have been beneficial (to avoid dynamic memory allocations) if
> the containers we wanted to populate manually stored their elements by
> value by that's clearly not the case here. My only excuse is that it
> was Fri ;-).
>


More information about the odb-users mailing list