|
Boost : |
Subject: Re: [boost] Boost library submission (poll for interest)
From: Brian Ravnsgaard Riis (brian_at_[hidden])
Date: 2010-01-13 19:49:35
Bob Walters <bob.s.walters <at> gmail.com> writes:
>
> I have a library I would like to submit for inclusion in Boost. This
> message is just soliciting for interest per the submission process.
> If interest is expressed, I'll carry on with a preliminary submission.
[snip]
Sorry for coming late to the discussion. Been out of touch (and without
internet) for quite a while. Anyway...
Let it be said now that I know very little about the internals of DBs of any
kind really, so I've skimmed your docs as a potential user. I am really rather
excited about the prospects here; I've been looking for a "database engine" for
C++ for some time, but so far just managed with SQLite (which is not intended as
criticism in any way).
One thing that immediately jumped at me, though, is this construct:
Transaction *txn = db.beginTransaction();
{
...
}
db.commit(txn);
>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?
As an aside, the quick start guide seems rather longish to accomplish very
little, but as you have to go around the Boost.Interprocess part that is
probably unavoidable (and you *do* have to go around that part, I think).
>
> Let me know if there's any interest, and I'll work on a preliminary
> submission for the sandbox.
Consider me interested! :-)
/Brian Riis
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk