Subject: Re: [boost] Boost library submission (poll for interest)
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2010-01-15 01:35:27
-----BEGIN PGP SIGNED MESSAGE-----
Bob Walters skrev:
>> >From an exception safety POV: What happens if db.commit(txn) is never called
>> here? The raw Transaction pointer raises my hackles immediately. Blame it on
>> Stroustrup and Meyers! :-) Am I missing something here?
> No. I should have at least used an auto there to ensure destruction.
> Actually the whole convention of the "database as factory" for
> transactions is something I'm going to rework so that you can have the
> transaction on the stack if you so choose. I do think I want to
> continue to support explicit transactions, but am very tempted by
> something Stefan is doing in Boost.Persistent, in which transaction
> scope is retained in thread-specific memory (I assume) and passed
> around implicitly. Support for that as an optional approach is
> something I need to do for those who prefer that.
I can't wait to see that interface.
>> Consider me interested! :-)
> Thanks. I'm going through a rewrite of some of the checkpoint logic.
> Once that's confirmed as working, there should be a tarball available.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk