On 25 May 2012 09:28, Neil Morgenstern <[email protected]> wrote:
> Incidentally SOCI is using a very poor implementation of auto_ptr.

It is used in single place, locally in the rowset.
It is not part of SOCI public interface.
This particular usage, does not really suffer due to auto_ptr issues.
If we decide to bump min. required C++ implementation,
we will replace it with unique_ptr.

> If auto_ptr is bad enough, SOCI doesn't even get that right.

Would you care to elaborate it?
Are you referring to the pimpl'ed rowset with auto_ptr?

> SOCI doesn't use shared_ptr because it doesn't force you to be using it.
> There are some features of boost you can optionally use. shared_ptr is
> standard in C++11 but we are not C++11 compliant yet.

Generally, this has been discussed countless of times, on soci-devel
and here too, I guess.

If we, the community of users, contributors and developers of SOCI,
decide to tighten up relation with Boost, use of boost::shared_ptr will be
possible. Alternatively, if min. required C++ implementation is C++03 + TR1,
we will get std::tr1::shared_ptr.
(Although, I wouldn't mind to jump straight to C++11. :))

Anyhow, as a reminder, SOCI has lost the project manager
(For those who missed the announcement, regrettably Maciej has left
the project [1], [2])

So, it is not far from truth to consider the project is now community-managed.
IMHO, anyone here who wants to step up and take ignite any motion in the SOCI
development, be encouraged to do so and let's discuss it here.

[1] 
http://sourceforge.net/mailarchive/[email protected]&forum_name=soci-users
[2] http://mateusz.loskot.net/2011/11/07/new-soci-project-leader-needed/

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to