Discussion:
[soci-users] Copying row
negerns
2014-07-26 12:31:37 UTC
Permalink
Why is row copying not allowed?
Mateusz Łoskot
2014-11-07 22:20:47 UTC
Permalink
Post by negerns
Why is row copying not allowed?
soci::row is just a view on underlying data exchange buffers
and it is referenced from statement (there's always one row object per
statement object).
It could be copyable, but then it would have to have semantic of
std|boost::shared_ptr
I don't think it would gain much, unless you have a concrete use case
to discuss.

Best regards,
--
Mateusz Łoskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Loading...